【急】miniprogram-ci 调用getDevSourceMap 报错?
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