Vue 2.0.3 packages version mismatch
See original GitHub issueVue.js version
2.0.3
Reproduction Link
The app’s console says that Uncaught Error: Cannot find module "../components/List.vue"(…)
When i use CI to build my app, the bug happens, and the CI log shows that
Vue packages version mismatch:
- vue@2.0.3
- vue-template-compiler@2.0.2
FYI,i used vue-cli
and webpack
template to create my app.
And i have reinstalled the vue-loader
.
The weird thing is that when i use npm run dev
, it works well.
Issue Analytics
- State:
- Created 7 years ago
- Comments:26 (2 by maintainers)
Top Results From Across the Web
Vue 3 package version mismatch - Stack Overflow
Error: Vue packages version mismatch: - vue@3.1.1 (C:\projects\UTT-Message-System\module\node_modules\vue\index.js) - vue-template-compiler@2.6.
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-template-compiler - npm
This package can be used to pre-compile Vue 2.0 templates into render functions to avoid runtime-compilation overhead and CSP restrictions.
Read more >[Solved]-How do I fix a "Vue packages version mismatch" error ...
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 >Vue packages version mismatch解决方案 - CSDN博客
在运行过程中出现的报错如下: Vue packages version mismatch: - vue@2.6.10 - vue-server-renderer@2.6.11 This may cause things to work incorrectly.
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
npm update vue
Fixed it for me
npm uninstall vue-template-compiler
npm install vue-template-compiler
worked for me