【急】miniprogram-ci 调用getDevSourceMap 报错?
发布于 4 年前 作者 na81 3841 次浏览 来自 问答
const ci = require("miniprogram-ci");
(async () => {
  const project = new ci.Project({
    appid: "wx5daa3a12*****",
    type: "miniProgram",
    projectPath: "/path/weapp",
    privateKeyPath: "./private.wx5daa3a12*****.key",
    ignores: ["node_modules/**/*"],
  });
  await ci.getDevSourceMap({
    project,
    robot: 1,
    sourceMapSavePath: "./sm.zip",
  });
})();

调用getDevSourceMap 报错

TypeError: Cannot read properties of undefined (reading ‘sourcemap_list’)

at /path/node_modules/miniprogram-ci/dist/ci/getDevSourceMap.js:2:1396

1 回复

有通过ci上传代码包?robot参数和上传时是否一致?

回到顶部