vue-enterprise-boilerplate icon indicating copy to clipboard operation
vue-enterprise-boilerplate copied to clipboard

Node 14 fails to compile

Open dwschulze opened this issue 5 years ago • 0 comments

/usr/bin/node /usr/share/yarn/bin/yarn.js run dev yarn run v1.22.4 $ vue-cli-service serve INFO Starting development server... 98% after emitting SizeLimitsPlugin

ERROR Failed to compile with 1 errors 6:00:50 PM

error in ./src/main.js

Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: [BABEL] /home/dean/src/vue/examples/books.and.videos/building.applications.with.spring-5.and.vue.js-2/ch11/frontend/src/main.js: Cannot find module '@babel/compat-data/corejs3-shipped-proposals' Require stack:

  • /home/dean/src/vue/examples/books.and.videos/building.applications.with.spring-5.and.vue.js-2/ch11/frontend/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js
  • /home/dean/src/vue/examples/books.and.videos/building.applications.with.spring-5.and.vue.js-2/ch11/frontend/node_modules/@babel/preset-env/lib/index.js
  • /home/dean/src/vue/examples/books.and.videos/building.applications.with.spring-5.and.vue.js-2/ch11/frontend/node_modules/@vue/babel-preset-app/index.js
  • /home/dean/src/vue/examples/books.and.videos/building.applications.with.spring-5.and.vue.js-2/ch11/frontend/node_modules/@vue/cli-plugin-babel/preset.js
  • /home/dean/src/vue/examples/books.and.videos/building.applications.with.spring-5.and.vue.js-2/ch11/frontend/node_modules/@babel/core/lib/config/files/plugins.js
  • /home/dean/src/vue/examples/books.and.videos/building.applications.with.spring-5.and.vue.js-2/ch11/frontend/node_modules/@babel/core/lib/config/files/index.js
  • /home/dean/src/vue/examples/books.and.videos/building.applications.with.spring-5.and.vue.js-2/ch11/frontend/node_modules/@babel/core/lib/index.js
  • /home/dean/src/vue/examples/books.and.videos/building.applications.with.spring-5.and.vue.js-2/ch11/frontend/node_modules/@vue/cli-plugin-babel/index.js
  • /home/dean/src/vue/examples/books.and.videos/building.applications.with.spring-5.and.vue.js-2/ch11/frontend/node_modules/@vue/cli-service/lib/Service.js
  • /home/dean/src/vue/examples/books.and.videos/building.applications.with.spring-5.and.vue.js-2/ch11/frontend/node_modules/@vue/cli-service/bin/vue-cli-service.js (While processing: "/home/dean/src/vue/examples/books.and.videos/building.applications.with.spring-5.and.vue.js-2/ch11/frontend/node_modules/@vue/cli-plugin-babel/preset.js") at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15) at Function.Module._load (internal/modules/cjs/loader.js:898:27) at Module.require (internal/modules/cjs/loader.js:1089:19) at require (internal/modules/cjs/helpers.js:73:18) at Object. (/home/dean/src/vue/examples/books.and.videos/building.applications.with.spring-5.and.vue.js-2/ch11/frontend/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js:10:55) at Module._compile (internal/modules/cjs/loader.js:1200:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10) at Module.load (internal/modules/cjs/loader.js:1049:32) at Function.Module._load (internal/modules/cjs/loader.js:937:14) at Module.require (internal/modules/cjs/loader.js:1089:19) at require (internal/modules/cjs/helpers.js:73:18) at Object. (/home/dean/src/vue/examples/books.and.videos/building.applications.with.spring-5.and.vue.js-2/ch11/frontend/node_modules/@babel/preset-env/lib/index.js:29:44) at Module._compile (internal/modules/cjs/loader.js:1200:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10) at Module.load (internal/modules/cjs/loader.js:1049:32) at Function.Module._load (internal/modules/cjs/loader.js:937:14)

@ multi (webpack)-dev-server/client?http://192.168.0.55:8080/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

dwschulze avatar Jul 01 '20 02:07 dwschulze