505548885@qq.com
505548885@qq.com
  • 发布:2019-06-14 10:36
  • 更新:2019-09-12 09:50
  • 阅读:177

app打包出现报错

分类:HBuilderX

Module build failed (from ./node_modules/vue-loader/lib/loaders/templateLoader.js):
[HBuilder] 10:25:09.338 TypeError: Cannot read property 'charAt' of undefined
[HBuilder] 10:25:09.345 at parseEvent (C:\Users\50554\Desktop\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\script\traverse\data\event.js:181:20)
[HBuilder] 10:25:09.348 at _processEvent (C:\Users\50554\Desktop\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\script\traverse\data\event.js:328:9)
[HBuilder] 10:25:09.356 at processEvent (C:\Users\50554\Desktop\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\script\traverse\data\event.js:387:5)
[HBuilder] 10:25:09.359 at processes.forEach.process (C:\Users\50554\Desktop\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\script\traverse\data\index.js:34:5)
[HBuilder] 10:25:09.365 at Array.forEach (<anonymous>)
[HBuilder] 10:25:09.369 at traverseData (C:\Users\50554\Desktop\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\script\traverse\data\index.js:33:13)
[HBuilder] 10:25:09.371 at Object.CallExpression (C:\Users\50554\Desktop\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\script\traverse\visitor.js:165:56)
[HBuilder] 10:25:09.376 at NodePath._call (C:\Users\50554\Desktop\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\traverse\lib\path\context.js:53:20)
[HBuilder] 10:25:09.381 at NodePath.call (C:\Users\50554\Desktop\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\traverse\lib\path\context.js:40:17)
[HBuilder] 10:25:09.386 at NodePath.visit (C:\Users\50554\Desktop\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\traverse\lib\path\context.js:88:12)
[HBuilder] 10:25:09.391 at TraversalContext.visitQueue (C:\Users\50554\Desktop\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\traverse\lib\context.js:118:16)
[HBuilder] 10:25:09.395 at TraversalContext.visitMultiple (C:\Users\50554\Desktop\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\traverse\lib\context.js:85:17)
[HBuilder] 10:25:09.401 at TraversalContext.visit (C:\Users\50554\Desktop\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\traverse\lib\context.js:144:19)
[HBuilder] 10:25:09.406 at Function.traverse.node (C:\Users\50554\Desktop\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\traverse\lib\index.js:94:17)
[HBuilder] 10:25:09.410 at NodePath.visit (C:\Users\50554\Desktop\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\traverse\lib\path\context.js:95:18)
[HBuilder] 10:25:09.416 at TraversalContext.visitQueue (C:\Users\50554\Desktop\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\traverse\lib\context.js:118:16)
[HBuilder] 10:25:09.421 ERROR Build failed with errors.

2019-06-14 10:36 分享
已邀请:
linxingyu555@163.com

linxingyu555@163.com

兄弟解决了吗?我现在也是出现这个问题

505548885@qq.com

505548885@qq.com (作者) - shuainan

引入的组件有问题mpvuePicker

727473582@qq.com

727473582@qq.com

最后怎么解决的,我也是用了mpvuePicker插件

要回复问题请先登录注册