报错:

Syntax Error: TypeError: Cannot read property 'parseComponent' of undefined

 

原因:

vue版本和vue-template-compiler版本不一致导致

 

解决:

1. 删除node_modules

2. 修改packge.json文件,修改vue-template-compiler和vue版本一致

3. npm install

 

相关文章:

  • 2021-09-14
  • 2021-08-28
  • 2021-07-16
  • 2021-09-09
  • 2021-06-26
  • 2021-05-18
  • 2021-07-01
猜你喜欢
  • 2021-12-24
  • 2021-07-24
  • 2022-12-23
  • 2021-05-21
  • 2022-01-16
  • 2022-12-23
  • 2021-09-21
相关资源
相似解决方案