首页 > 其他 > 详细

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

时间:2018-01-26 18:35:16      阅读:10076      评论:0      收藏:0      [点我收藏+]
 error  in ./src/pages/home.vue


Module build failed: Error:


Vue packages version mismatch:


- vue@2.4.4

- vue-template-compiler@2.5.13


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 sho

uld bump vue-template-compiler to the latest.


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

npm install vue@2.5.13 --save,然后直接运行就可以了!


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

原文:http://blog.51cto.com/ji123/2065548

(0)
(4)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!