miniprogram-ci 上传代码失败,code: 20001,如何处理?
发布于 5 年前 作者 yanfeng 15155 次浏览 来自 问答

编译成功,上传时异常如下

20001 Error: errCode: -1; errMsg: innerCode: -2
Error: Error: errCode: -1; errMsg: innerCode: -2
    at getRandomString (/Users/edison/Desktop/F6/git/f6-car-marketing/node_modules/miniprogram-ci/dist/utils/sign.js:1:870)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Object.getSignature (/Users/edison/Desktop/F6/git/f6-car-marketing/node_modules/miniprogram-ci/dist/utils/sign.js:1:997)
    at async Object.upload (/Users/edison/Desktop/F6/git/f6-car-marketing/node_modules/miniprogram-ci/dist/upload/upload.js:1:1248) {
  code: 20001
}
回到顶部