rootOfEchord
rootOfEchord
  • 发布:2019-08-01 16:41
  • 更新:2019-08-01 16:41
  • 阅读:297

真机调试采用usingComponents自定义组件模式编译报错

分类:HBuilder

编译器版本:2.0.2,当前项目编译模式:自定义组件模式。编译模式差异见:https://ask.dcloud.net.cn/article/35843
16:31:09.007 ERROR TypeError: Cannot read property 'id' of undefined
16:31:09.007 TypeError: Cannot read property 'id' of undefined
16:31:09.012 at Object.keys.forEach.name (E:\SPAITEMS\lemochain-wallet-app\node_modules\@dcloudio\webpack-uni-mp-loader\lib\plugin\generate-component.js:46:15)
16:31:09.013 at Array.forEach ()
16:31:09.020 at generateComponent (E:\SPAITEMS\lemochain-wallet-app\node_modules\@dcloudio\webpack-uni-mp-loader\lib\plugin\generate-component.js:24:25)
16:31:09.022 at Promise (E:\SPAITEMS\lemochain-wallet-app\node_modules\@dcloudio\webpack-uni-mp-loader\lib\plugin\index-new.js:42:9)
16:31:09.027 at new Promise ()
16:31:09.028 at compiler.hooks.emit.tapPromise.compilation (E:\SPAITEMS\lemochain-wallet-app\node_modules\@dcloudio\webpack-uni-mp-loader\lib\plugin\index-new.js:32:14)
16:31:09.034 at _next0 (eval at create (E:\SPAITEMS\lemochain-wallet-app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :9:17)
16:31:09.036 at _err0 (eval at create (E:\SPAITEMS\lemochain-wallet-app\node_modules\tapable\lib\HookCodeFactory.js:33:10), :25:1)
16:31:09.043 at callback (E:\SPAITEMS\lemochain-wallet-app\node_modules\copy-webpack-plugin\dist\index.js:77:17)
16:31:09.052 at E:\SPAITEMS\lemochain-wallet-app\node_modules\copy-webpack-plugin\dist\index.js:118:24

2019-08-01 16:41 分享
已邀请:

要回复问题请先登录注册