I got an error as below when i ran npm start
, the same project worked for a while just updated few code and accidentally i removed my package-lock.json otherwise there were not much changes
Cannot find module '@babel/compat-data/corejs3-shipped-proposals'
Require stack:
- /home/patrick/tmp/my-new-project/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js
- /home/patrick/tmp/my-new-project/node_modules/@babel/preset-env/lib/index.js
- /home/patrick/tmp/my-new-project/node_modules/@vue/babel-preset-app/index.js
- /home/patrick/tmp/my-new-project/node_modules/@vue/cli-plugin-babel/preset.js
- /home/patrick/tmp/my-new-project/node_modules/@babel/core/lib/config/files/plugins.js
- /home/patrick/tmp/my-new-project/node_modules/@babel/core/lib/config/files/index.js
- /home/patrick/tmp/my-new-project/node_modules/@babel/core/lib/index.js
- /home/patrick/tmp/my-new-project/node_modules/@vue/cli-plugin-babel/index.js
- /home/patrick/tmp/my-new-project/node_modules/@vue/cli-service/lib/Service.js
- /home/patrick/tmp/my-new-project/node_modules/@vue/cli-service/bin/vue-cli-service.js (While processing: "/home/patrick/tmp/my-new-project/node_modules/@vue/cli-plugin-babel/preset.js")
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1030:15)
at Function.Module._load (internal/modules/cjs/loader.js:899:27)
at Module.require (internal/modules/cjs/loader.js:1090:19)
at require (internal/modules/cjs/helpers.js:75:18)
at Object.<anonymous> (/home/patrick/tmp/my-new-project/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js:10:55)
at Module._compile (internal/modules/cjs/loader.js:1201:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1221:10)
at Module.load (internal/modules/cjs/loader.js:1050:32)
at Function.Module._load (internal/modules/cjs/loader.js:938:14)
at Module.require (internal/modules/cjs/loader.js:1090:19)
at require (internal/modules/cjs/helpers.js:75:18)
at Object.<anonymous> (/home/patrick/tmp/my-new-project/node_modules/@babel/preset-env/lib/index.js:29:44)
at Module._compile (internal/modules/cjs/loader.js:1201:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1221:10)
at Module.load (internal/modules/cjs/loader.js:1050:32)
at Function.Module._load (internal/modules/cjs/loader.js:938:14)
@ multi (webpack)-dev-server/client?http://192.168.178.70:8080/sockjs-node (webpack)/hot/dev-server.js ./src/main.js