Module build failed (from ./node_modules/vue-loader/lib/loaders/templateLoader.js):
[HBuilder] 11:07:29.749 TypeError: Cannot read property 'charAt' of undefined
[HBuilder] 11:07:29.764 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] 11:07:29.766 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] 11:07:29.781 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] 11:07:29.796 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] 11:07:29.812 at Array.forEach (<anonymous>)
[HBuilder] 11:07:29.826 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] 11:07:29.829 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] 11:07:29.847 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] 11:07:29.877 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] 11:07:29.893 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] 11:07:29.909 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] 11:07:29.928 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] 11:07:29.946 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] 11:07:29.964 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] 11:07:29.979 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] 11:07:29.998 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] 11:07:30.014 ERROR Build failed with errors.
5***@qq.com
- 发布:2019-06-14 11:12
- 更新:2019-07-16 18:51
- 阅读:1438
2 个回复
4***@qq.com
删除 @="" 即可
虫子的辛苦 - 程序员
我也遇到了,我的问题出现的原因找到了,是因为引入了插件市场中的三级关联的组件mpvuePicker导致的,但是具体是哪段代码引起的就不知道了。有没有大神可以解释一下。