script returned exit code 1
[2024-05-31 11:57:34] + node ./upload.js -p=**** --appid=wxc91ea24a72e5d0b0
[2024-05-31 11:57:35] node:internal/modules/cjs/loader:988
[2024-05-31 11:57:35] throw err;
[2024-05-31 11:57:35] ^
[2024-05-31 11:57:35]
[2024-05-31 11:57:35] Error: Cannot find module './utils/handleerror/handleerror'
[2024-05-31 11:57:35] Require stack:
[2024-05-31 11:57:35] - /root/workspace/node_modules/miniprogram-ci/dist/modules/fullcompiler/getallwmltohtmlmap.js
[2024-05-31 11:57:35] - /root/workspace/node_modules/miniprogram-ci/dist/modules/fullcompiler/index.js
[2024-05-31 11:57:35] - /root/workspace/node_modules/miniprogram-ci/dist/modules/index.js
[2024-05-31 11:57:35] - /root/workspace/node_modules/miniprogram-ci/dist/index.js
[2024-05-31 11:57:35] - /root/workspace/upload.js
[2024-05-31 11:57:35] at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
[2024-05-31 11:57:35] at Function.Module._load (node:internal/modules/cjs/loader:833:27)
[2024-05-31 11:57:35] at Module.require (node:internal/modules/cjs/loader:1057:19)
[2024-05-31 11:57:35] at require (node:internal/modules/cjs/helpers:103:18)
[2024-05-31 11:57:35] at Object.<anonymous> (/root/workspace/node_modules/miniprogram-ci/dist/modules/fullcompiler/getallwmltohtmlmap.js:1:190)
[2024-05-31 11:57:35] at Module._compile (node:internal/modules/cjs/loader:1155:14)
[2024-05-31 11:57:35] at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
[2024-05-31 11:57:35] at Module.load (node:internal/modules/cjs/loader:1033:32)
[2024-05-31 11:57:35] at Function.Module._load (node:internal/modules/cjs/loader:868:12)
[2024-05-31 11:57:35] at Module.require (node:internal/modules/cjs/loader:1057:19) {
[2024-05-31 11:57:35] code: 'MODULE_NOT_FOUND',
[2024-05-31 11:57:35] requireStack: [
[2024-05-31 11:57:35] '/root/workspace/node_modules/miniprogram-ci/dist/modules/fullcompiler/getallwmltohtmlmap.js',
[2024-05-31 11:57:35] '/root/workspace/node_modules/miniprogram-ci/dist/modules/fullcompiler/index.js',
[2024-05-31 11:57:35] '/root/workspace/node_modules/miniprogram-ci/dist/modules/index.js',
[2024-05-31 11:57:35] '/root/workspace/node_modules/miniprogram-ci/dist/index.js',
[2024-05-31 11:57:35] '/root/workspace/upload.js'
[2024-05-31 11:57:35] ]
[2024-05-31 11:57:35] }
帮我检查一下是哪个依赖导致报错
2.0.2 修复了这个问题
试试2.0.2版本
我2.0.2还是有问题 换成1.9.15就可以
我也遇到了这个报错,这个是因为miniprogram-ci最新包2.0.1中,在这个文件node_modules/miniprogram-ci/dist/modules/fullcompiler/getallwmltohtmlmap.js中找utils/handleerror/handleError.js这个文件名报的错,代码里写的是require("./utils/handleerror/handleerror"),但是这个文件名是handleError.js