miniprogram-ci 只支持node16?
https://developers.weixin.qq.com/miniprogram/dev/devtools/ci.html ~/.local/bin/mise exec node@20.5.0 -- miniprogram-ci upload --project-path dist/build/mp-weixin --locales zh --private-key-path ........ 在node20.5.0或node@18.18.2 下执行upload均报此错误: [log] {"id":"50000520","status":"done"}
[log] {"id":"50000530","status":"done"}
[log] {"id":"50000033","status":"done"}
[log] {"id":"50000522","status":"done"}
[log] {"id":"50000537","status":"done"}
[log] {"id":"50000527","status":"done"}
[log] {"id":"50000536","status":"done"}
[log] {"id":"50000519","status":"done"}
child process stdout: getCodeFiles: count: 533, cost: 7254ms.
[log] {"id":"50000000","status":"fail","message":"Error: file: app.js\n unknown file: value.ensureFunctionName is not a function"}
CustomError: file: app.js
unknown file: value.ensureFunctionName is not a function
at enhance (/home/gitlab-runner/.local/share/mise/installs/node/18.18.2/lib/node_modules/miniprogram-ci/dist/modules/corecompiler/summer/plugins/enhance.js:1:1579)
at doTransform (/home/gitlab-runner/.local/share/mise/installs/node/18.18.2/lib/node_modules/miniprogram-ci/dist/modules/corecompiler/summer/plugins/enhance.js:1:1827)
at Object.runSummerPluginHook (/home/gitlab-runner/.local/share/mise/installs/node/18.18.2/lib/node_modules/miniprogram-ci/dist/modules/corecompiler/summer/worker.js:1:1225) {
code: 10045,
path: 'app.js'
}
最后用node@16.6.7 安装miniprogram-ci 才能upload成功 ~/.local/bin/mise exec node@16.17.0 -- miniprogram-ci upload --project-path dist/build/mp-weixin --locales zh --private-key-path