TypeError: Cannot read property 'parseComponent' of undefined
at parse (D:\桌面\测试弹幕\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (D:\桌面\测试弹幕\node_modules\vue-loader\lib\index.js:67:22)
@ ./src/main.js 6:0-28 10:13-16
@ multi (webpack)-dev-server/client?http://192.168.2.96:8080/sockjs-node (webpack)/hot/dev-server.js ./src/main.js `
创建一个新的vue项目,
下载你的 npm install vue-danmaku --save
在页面使用,也出现错误
` ERROR Failed to compile with 2 errors 下午3:29:04
TypeError: Cannot read property 'parseComponent' of undefined at parse (D:\桌面\测试弹幕\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23) at Object.module.exports (D:\桌面\测试弹幕\node_modules\vue-loader\lib\index.js:67:22)
@ ./src/main.js 6:0-28 10:13-16 @ multi (webpack)-dev-server/client?http://192.168.2.96:8080/sockjs-node (webpack)/hot/dev-server.js ./src/main.js `
请求,这个组件提升一下,解决这个依赖不兼容问题,可以像element UI 一样就好