收藏
回答

sourcemap报错,get new ticket fail innerCode: -80014?

import ci from 'miniprogram-ci';

try {
    const project = new ci.Project({
        appid: `${appid}`,
        type: 'miniProgram',
        projectPath: 'packages/xx',
        privateKeyPath: `${pkp}`,
        ignores: ['node_modules/**/*']
    });
    smBuffer = await ci.getDevSourceMap({
        project,
        robot: 30,
        sourceMapSavePath: './sm.zip'
    });
} catch (e) {
    console.log('拉取 sourcemap 文件失败', e);
    return;
}


报错内容

拉取 sourcemap 文件失败 Error: request failed, errCode: -1, errMsg: get new ticket fail innerCode: -80014
at getDevSourceMap (/Users/xx/.jenkins/workspace/xx/marsenal/node_modules/miniprogram-ci/dist/ci/getDevSourceMap.js:2:1578)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Object.getDevSourceMap (/Users/xx/.jenkins/workspace/xx/marsenal/node_modules/miniprogram-ci/dist/utils/report.js:2:1403)
at async step.rule (file:///Users/xx/.jenkins/workspace/xx/marsenal/src/build-deploy.pipeline.js:461:24)
at async step (file:///Users/xx/.jenkins/workspace/xx/marsenal/node_modules/@xx-client/marsenal-js/dist/main.js:57170:5)
at async file:///Users/xx/.jenkins/workspace/xx/marsenal/src/build-deploy.pipeline.js:446:1
最后一次编辑于  09-25
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容