[英]Vue.js 2.3.2 version mismatch
After running npm run watch
in terminal on my php laravel project I got this error: 在我的php laravel项目的终端上运行npm run watch
,我得到了这个错误:
Module build failed: Error:
Vue packages version mismatch:
- vue@2.3.2
- vue-template-compiler@2.2.6
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. 我试图运行此命令npm update vue-template-compiler
但错误仍然存在。
Did somebody else meet with this problem? 有人遇到过这个问题吗?
我找到了解决方法,我必须删除node_modules
文件夹,必须运行npm install
之后才能解决问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.