报错信息:

  Vue packages version mismatch:
- vue@2.5.17
- vue-template-compiler@2.5.2
 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-template-compiler版本@2.5.2比项目引入的vue版本@2.5.17过高,回滚!

进入项目根路径,执行:

cnpm i vue-template-compiler@2.5.17 --save

 

相关文章:

  • 2022-12-23
  • 2021-10-11
  • 2021-12-26
  • 2021-12-23
  • 2021-10-21
  • 2021-08-02
  • 2021-11-20
  • 2021-04-05
猜你喜欢
  • 2021-05-01
  • 2022-12-23
  • 2022-01-08
  • 2021-09-18
相关资源
相似解决方案