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

Vue packages version mismatch #389

Closed
tolerious opened this issue Mar 9, 2017 · 1 comment
Closed

Vue packages version mismatch #389

tolerious opened this issue Mar 9, 2017 · 1 comment

Comments

@tolerious
Copy link

tolerious commented Mar 9, 2017

run vue init webpack-simple command, then run npm run dev, got such errors:

ERROR in ./src/App.vue
Module build failed: Error: 

Vue packages version mismatch:

- vue@2.2.1
- vue-template-compiler@2.2.2

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

    at Object.<anonymous> (/Users/tolerious/tjdesigner-mobile/node_modules/.2.2.2@vue-template-compiler/index.js:8:9)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/tolerious/tjdesigner-mobile/node_modules/.11.1.4@vue-loader/lib/parser.js:1:78)
    at Module._compile (module.js:570:32)
 @ ./src/main.js 2:0-28
 @ multi ./~/.2.4.1@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
@znck
Copy link
Member

znck commented Mar 9, 2017

Related vuejs/vue-loader#702

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

No branches or pull requests

2 participants