其他分享
首页 > 其他分享> > Vue 项目运行【报错】:module build failed: cannot read property ‘parsecomponent‘ of undefined ...

Vue 项目运行【报错】:module build failed: cannot read property ‘parsecomponent‘ of undefined ...

作者:互联网

前言

在 Vue 项目中,npm run dev 运行时,报错:

module build failed: 
...
cannot read property 'parsecomponent' of undefined ...

目前有效的解决方案是: 统一 vuevue-template-compiler 的版本号:
如在 package.json 中:

"vue-template-compiler": "2.6.11",
"vue": "2.6.11"

参考

issue 1
issue 2
issue 3

标签:parsecomponent,...,vue,module,报错,issue,2.6
来源: https://blog.csdn.net/zic_liu/article/details/118526567