Module build failed (from ./node_modules/@dcloudio/webpack-uni-pages-loader/lib/index.js):
[HBuilder] 13:00:53.093 TypeError: Cannot set property 'audio' of undefined
[HBuilder] 13:00:53.104 at module.exports (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-pages-loader/lib/platforms/app-plus/index.js:167:46)
[HBuilder] 13:00:53.104 at Object.module.exports (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-pages-loader/lib/index.js:52:71)
[HBuilder] 13:07:34.407 项目 'MO' 开始编译...
[HBuilder] 13:07:42.282 Module build failed (from ./node_modules/@dcloudio/webpack-uni-pages-loader/lib/index.js):
f***@163.com
- 发布:2019-01-20 13:17
- 更新:2019-01-21 10:54
- 阅读:1392
TypeError: Cannot set property 'audio' of undefined
分类:HBuilderX
f***@163.com (作者) - 90IT
我看论坛上已经有人提这个问题了:https://ask.dcloud.net.cn/question/62394,感觉不是我个人配置相关的问题,我觉得是升级1.5造成的问题,我全局搜索,没有audio,另外小程序和浏览器访问没有问题。
f***@163.com (作者)
手动添加一个节点:"plugins": {},在app-plus.distribute下,问题已解决,谢谢
2019-01-20 18:28