当前位置: 代码迷 >> 综合 >> 详解Vue版本不匹配(Vue packages version mismatch:)
  详细解决方案

详解Vue版本不匹配(Vue packages version mismatch:)

热度:37   发布时间:2023-11-22 05:53:55.0

详解Vue版本不匹配(Vue packages version mismatch:)

找到这段代码: vue@2.6.10 (/usr/local/lib/node_modules/vue/dist/vue.runtime.common.js)

Vue packages version mismatch:- vue@2.6.10 (/usr/local/lib/node_modules/vue/dist/vue.runtime.common.js)
- vue-template-compiler@2.6.11 (/usr/local/lib/node_modules/@vue/cli/node_modules/vue-template-compiler/package.json)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.

在磁盘中,找到vue.runtime.common.js,直接删除即可

  相关解决方案