Vue packages version mismatch
See original GitHub issueVersion
3.9.3
Environment info
Mac OSX
node 8.9.0
npm 6.1.0
Steps to reproduce
Type in terminal:
npm install -g @vue/cli
vue create project
What is expected?
Usual perfect bootstrap of a new vue project
What is actually happening?
Error:
Vue packages version mismatch:
- vue@2.5.17 (/Users/vincentdupont/node_modules/vue/dist/vue.runtime.common.js)
- vue-template-compiler@2.6.10 (/Users/vincentdupont/.nvm/versions/node/v8.9.0/lib/node_modules/@vue/cli/node_modules/vue-template-compiler/package.json)
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.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
How do I fix a "Vue packages version mismatch" error on ...
Module build failed: Error: Vue packages version mismatch: - vue@2.0.8 - vue-template-compiler@2.2.6 This may cause things to work incorrectly. Make sure to use ......
Read more >Vue packages version mismatch error fix | by Allan Philip Barku
Vue packages version mismatch error occurs when Vue and Vue-template-compiler version numbers are different. Image of error message in the terminal.
Read more >Vue packages version mismatch error · Issue #470 - GitHub
Vue packages version mismatch : - vue@2.0.5 - vue-template-compiler@2.0.6 This may cause things to work incorrectly.
Read more >How to Fix " Vue packages version mismatch:" error in Laravel ...
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- ...
Read more >how to fix Vue packages version mismatch error - Laracasts
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...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
On a Mac using Yarn I had a
node_modules
folder in/Users/myuser/.config/yarn/global/
. Deleting that and theyarn.lock
and then do ayarn global add @vue/cli
solved the problem for me.On Windows the solution is to remove
node_modules
from your user directory.