Vue packages version mismatch: 版本始终不对的解决方案

 error  in ./src/pages/home.vuevue


Module build failed: Error:npm


Vue packages version mismatch:ide


- vue@2.4.4ui

- vue-template-compiler@2.5.13spa


This may cause things to work incorrectly. Make sure to use the same version forit

 both.io

If you are using vue-loader@>=10.0, simply update vue-template-compiler.class

If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify shotest

uld bump vue-template-compiler to the latest.vue-loader


出现这种错误以后能够使用命令,将vue的版本改为和vue-template-compiler的版本一致,使用命令

npm install vue@2.5.13 --save,而后直接运行就能够了!

相关文章
相关标签/搜索