当前位置:网站首页>[error reporting] cannot read property 'parsecomponent' of undefined

[error reporting] cannot read property 'parsecomponent' of undefined

2022-07-27 04:58:00 Blog Zhu hukang

Report the wrong question

 Insert picture description here

Error reporting analysis

The reason for the error is vue After upgrading vue-template-compiler Medium parseComponent The function has been deleted .

Error reporting solution

Solve this problem :

  • Need to confirm package.json Medium vue-template-compiler Has it been replaced with @vue/compiler-sfc, Otherwise, it needs to be replaced , Then reinstall the dependencies .
  • If you still report this error , You need to check whether there are any third-party dependencies referenced by the project Vue2 Version of , If any, it needs to be updated to support Vue3 Version of .
原网站

版权声明
本文为[Blog Zhu hukang]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/208/202207270436392851.html