vue-toutiaohao icon indicating copy to clipboard operation
vue-toutiaohao copied to clipboard

执行 npm run dev 报错

Open w19871029 opened this issue 7 years ago • 3 comments

ERROR in

Vue packages version mismatch:

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.

@ ./src/router/index.js 35:13-38

w19871029 avatar Dec 08 '17 06:12 w19871029

@w19871029 你好,你可以试试 npm install [email protected]试试。 package.json 中 配置的是 "vue-template-compiler": "^2.1.8"。应该升级了vue-template-compiler 造成的问题。

lixingdecai avatar Dec 08 '17 06:12 lixingdecai

可以啦 你那边设置一下 package.json 中 "vue-template-compiler": "2.1.8", 改成这样就可以啦 谢谢

w19871029 avatar Dec 08 '17 06:12 w19871029

@w19871029 好的 ,感谢

lixingdecai avatar Dec 08 '17 06:12 lixingdecai