-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 #6823
Comments
That's a typical userland error. There are various solutions: |
The thing that works for me is:
I am using Windows and Node 12.14.0 |
Have the same issue:
But the package-lock.json is loading 2.6.10 for Vue and the Vue Server Renderer
So how would this be possible? |
This worked for me. thanks |
Exactly the same here. A simple |
I go the save issue after execute |
This worked for me. Thanks! |
The solution is to run npm update after an npm audit fix |
|
If it helps anyone else who lands here, I had to also clean my npm cache along with the above tips.
|
it just happened to me since about 1 hour ago a new patch version was release
both vue and vue-server-renderer were set to 2.6.13 in the package.json version, but for some reason vue still updated the patch version |
npm i -D vue-template-compiler
|
This worked for me. My issue
|
I had this issue
HOW I FIXED IT
|
I'm still getting the error even after running:
|
I got the same error and fixed by upgrading vue version upto 2.6.14 |
I tried all the above solutions and nothing worked for me. |
Still not work for me. |
I tried all the above solutions and nothing worked for me. |
Please try this solution, but in order |
FIX: npm i vue-server-renderer@2.6.14 |
This worked for me! 🎉 |
I have found another solution. |
Hello, same here but nothing worked Vue packages version mismatch:
This may cause things to work incorrectly. Make sure to use the same version for both. Vue packages version mismatch:
|
Solved it with
in package.json |
This worked for me |
howeverrr, running the following two commands worked for me! npm i vue-template-compiler@2.6.14 npm i vue-server-renderer@2.6.14 |
Hey all, after trying ALL the solutions proposed here, the only thing that worked for me was to manually reinstall the specific version that I had troubles with, both for In this case I ran:
Hope this might help the ones still having the issue |
@tdebenne You are likely using a dependency that is still using Vue 2. It's not the same as this issue. Also, Nuxt 3 issues can be reported at https://github.com/nuxt/framework. |
Version
v2.11.0
Reproduction link
https://iDontHaveItOnline.com
Steps to reproduce
I updated to the newest version of Nuxt.js and now I get this error.
Vue packages version mismatch:
This may cause things to work incorrectly. Make sure to use the same version for both.
Vue packages version mismatch:
This may cause things to work incorrectly. Make sure to use the same version for both.
at Object. (node_modules/vue-server-renderer/index.js:8:9)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (node_modules/@nuxt/vue-renderer/dist/vue-renderer.js:20:27)
at Module._compile (internal/modules/cjs/loader.js:778:30)
╭────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ ✖ Nuxt Fatal Error │
│ │
│ Error: │
│ │
│ Vue packages version mismatch: │
│ │
│ - vue@2.6.10 │
│ - vue-server-renderer@2.6.11 │
│ │
│ This may cause things to work incorrectly. Make sure to use the same version for both. │
│ │
│ │
What is expected ?
It is expected to compile the code.
What is actually happening?
But instead it crashes with a fatal error.
The text was updated successfully, but these errors were encountered: