09:41:06.074 编译器版本:1.9.4,当前项目编译模式:自定义组件模式。编译模式差异见:https://ask.dcloud.net.cn/article/35843
09:41:21.298 ERROR TypeError: Cannot read property 'id' of undefined
09:41:21.304 TypeError: Cannot read property 'id' of undefined
09:41:21.305 at Object.keys.forEach.name (E:\Program Files\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-mp-loader\lib\plugin\generate-component.js:50:86)
09:41:21.311 at Array.forEach (<anonymous>)
09:41:21.316 at generateComponent (E:\Program Files\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-mp-loader\lib\plugin\generate-component.js:19:25)
09:41:21.317 at Promise (E:\Program Files\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-mp-loader\lib\plugin\index-new.js:42:9)
09:41:21.322 at new Promise (<anonymous>)
09:41:21.322 at compiler.hooks.emit.tapPromise.compilation (E:\Program Files\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-mp-loader\lib\plugin\index-new.js:32:14)
09:41:21.328 at _err0 (eval at create (E:\Program Files\HBuilderX\plugins\uniapp-cli\node_modules\tapable\lib\HookCodeFactory.js:32:10), <anonymous>:13:17)
09:41:21.335 at callback (E:\Program Files\HBuilderX\plugins\uniapp-cli\node_modules\copy-webpack-plugin\dist\index.js:77:17)
09:41:21.336 at E:\Program Files\HBuilderX\plugins\uniapp-cli\node_modules\copy-webpack-plugin\dist\index.js:118:24
09:41:21.341 at <anonymous>
angthing_007
- 发布:2019-05-06 09:44
- 更新:2019-08-01 16:50
- 阅读:4542
添加usingComponents后,无法启动报错
分类:uni-app
5 个回复
DCloud_UNI_HT
提供一下项目源码
大蜗牛超人
我跟你一样的问题,解决没?
我吃柠檬 - .....
自定义组件好多问题
https://ask.dcloud.net.cn/question/70491
https://ask.dcloud.net.cn/question/70458
rootOfEchord - dsfs
请问楼主解决了吗? 我也是同样的问题
米斯特郭
组件模式报错...是个头疼的问题,编译器不能提示一下 具体是 那页哪行报错吗??