使用 ci buildNpm 后 upload 再 downloadSourceMap,报错:
appid: wx22ba106979af59dd
时间点:2020-12-17 10:00
miniprogram-ci 版本:1.0.94
机器人:1
错误信息:
手动修改源码添加 console.log 的错误信息:
{
errCode: -1,
errMsg:'inner download source map fail with errcode: -80407, errmsg: '
}
未添加 console.log 的原始报错信息:
(node:94767) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'sourcemap_list' of undefined
at Promise (/Users/circle/code/xxx/node_modules/miniprogram-ci/dist/utils/sourcemap/getDevSourceMap.js:46:26)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:94767) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:94767) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
没有对应的sourcemap,重试上传一次再获取试试?app.json中是否配置了lazyCodeLoading?
绑定小程序 appid:wx22ba106979af59dd
第三方平台 appid:wx4537f49de7d7f538
平台名称:肤选
原因:第三方暂不支持使用 mimiprogram-ci 获取 sourcemap
解决方案:只能使用未绑定开发的小程序使用开发者工具上传后获取 sourcemap