问题描述
我得到一个 Vue 包版本不匹配:即使在将 Vue 和 vue-template-compiler 更新到相同版本之后,Vue 包版本不匹配控制台打印
Am getting a Vue packages version mismatch:Vue packages version mismatch even after updating Vue and vue-template-compiler to the same version The console prints
Vue 包版本不匹配:- vue@2.6.10- vue-template-compiler@2.5.16我已经从我的 package.json 中确认 Vue 和 vue-template-compiler 的版本相同.即 2.6.10.请帮助
Vue packages version mismatch:- vue@2.6.10- vue-template-compiler@2.5.16I have confirmed from my package.json that both Vue and vue-template-compiler are of the same version .ie 2.6.10 .Please Help
推荐答案
要么运行 npm update
,要么删除你的 node_modules + package-lock.json 然后 npm install
.
Either run npm update
, or remove your node_modules + package-lock.json then npm install
.
这篇关于Vue包版本不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!