npm run server 出错:If you are using vue-loader@>=10.0, simply update vue-template-compiler ?
原创    Blackbird    发表于:2020-08-06 19:07:28
  阅读 :498   收藏   编辑

console

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.

Error: 

Vue packages version mismatch:

原因
vue与vue-template-compiler版本号不一致
解决方法
npm update

评论
条评论

推荐阅读