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

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