question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Vue 2.0.3 packages version mismatch

See original GitHub issue

Vue.js version

2.0.3

Reproduction Link

My app CI log

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:closed
  • Created 7 years ago
  • Comments:26 (2 by maintainers)

github_iconTop GitHub Comments

125reactions
fiveanddonecommented, Nov 17, 2016

npm update vue

Fixed it for me

77reactions
warren32commented, Jun 22, 2017

npm uninstall vue-template-compiler npm install vue-template-compiler worked for me

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found