mimiprogram-ci 下载 sourcemap 报错?
使用 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.