Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node 14 fails to compile #205

Closed
dwschulze opened this issue Jul 1, 2020 · 0 comments
Closed

Node 14 fails to compile #205

dwschulze opened this issue Jul 1, 2020 · 0 comments

Comments

@dwschulze
Copy link

/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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants