[HBuilder] 14:10:14.204 项目 'airofo-uni-web' 编译成功.
[HBuilder] 14:10:14.209 Module build failed (from ./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js):
[HBuilder] 14:10:14.215 TypeError: Cannot read property 'replace' of undefined
[HBuilder] 14:10:14.219 at cached (D:\newfile\HBuilderX\HBuilderX.2.2.2.20190816.full\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-cli-shared\lib\util.js:56:14)
[HBuilder] 14:10:14.223 at cachedFn (D:\newfile\HBuilderX\HBuilderX.2.2.2.20190816.full\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-cli-shared\lib\util.js:43:33)
[HBuilder] 14:10:14.228 at resolve.call.then.resolved (D:\newfile\HBuilderX\HBuilderX.2.2.2.20190816.full\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-mp-loader\lib\script-new.js:96:41)
[HBuilder] 14:10:14.233 at <anonymous>
[HBuilder] 14:10:14.238 ERROR Build failed with errors.
[HBuilder] 14:10:14.243 项目 'airofo-uni-web'导出失败
经费战士
- 发布:2019-12-11 14:17
- 更新:2019-12-11 14:19
- 阅读:1742
h5打包报错TypeError: Cannot read property 'replace' of undefined
分类:uni-app
1 个回复
经费战士 (作者)
请教一下是什么原因呢