编译weex项目时, 一直提示“Vue packages version mismatch”
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 should bump vue-template-compiler to the latest.
vue跟vue-template-compiler版本不一致
但是package.json里边配置的vue和vue-template-compiler的版本配置是一样的。
什么重装weex-toolkit、删除node-module然后重新install等等很多方法都试过,都没有解决。
最后在网上看说,有可能是vue污染
使用以下两个命令修复下
weex xbind repair toolkit-repair
weex repair