vue-cli 中的vue 升到 2.0.8 报错, vue-loader已经是最新的了

Created on 21 Nov 2016  ·  4Comments  ·  Source: vuejs/vue

ERROR in

Vue packages version mismatch:

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader or vueify, re-installing them should bump vue-template-compiler to the latest.

Most helpful comment

错误不是说的很清楚了吗? vue和vue-template-compiler的版本不匹配, 把这两个版本改成一样

All 4 comments

错误不是说的很清楚了吗? vue和vue-template-compiler的版本不匹配, 把这两个版本改成一样

问题是我没使用这个叫vue-template-compiler的东西,之前没安装是正常使用的,现在安装了也报错,同样的版本, vue-template-compiler 2.0.8

If you are using vue-loader or vueify, re-installing them should bump vue-template-compiler to the latest.

请重新安装vue-loader。vue-template-compiler是vue-loader的依赖项。

@nathenchan 我是按照提示升级了 vue-loader 之后还是报同样的错误。最后的解决方案是升级了 vue 到最新的版本,从2.3.2升级到了2.5.2

Was this page helpful?
0 / 5 - 0 ratings

Related issues

robertleeplummerjr picture robertleeplummerjr  ·  3Comments

finico picture finico  ·  3Comments

seemsindie picture seemsindie  ·  3Comments

franciscolourenco picture franciscolourenco  ·  3Comments

paulpflug picture paulpflug  ·  3Comments