vue.js - Vue packages version mismatch
本文介绍了vue.js - Vue packages version mismatch的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问 题
如下:
Vue packages version mismatch:
- vue@2.3.3
- vue-template-compiler@https://registry.npm.taobao.org/vue-template-compiler/download/vue-temp
late-compiler-2.3.3.tgz
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-te
mplate-compiler to the latest.
vue-template-compiler的版本号怎么变成这个了:
@https://registry.npm.taobao.o...
解决方案
npm 5 的 bug,删除 package-lock.json 文件及 node_modules 目录重新安装依赖即可
这篇关于vue.js - Vue packages version mismatch的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文