Reputation: 2105
After running npm run watch
in terminal on my php laravel project I got this error:
Module build failed: Error:
Vue packages version mismatch:
- [email protected]
- [email protected]
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.
I tried to run this command npm update vue-template-compiler
but the error remained.
Did somebody else meet with this problem?
Upvotes: 0
Views: 1421
Reputation: 2105
I found the soluiton, I had to delete the node_modules
folder, after I had to run npm install
then the problem is solved.
Upvotes: 1