jenkins上传小程序,构建正常,上传代码提示
(node:7921) UnhandledPromiseRejectionWarning: Error: Error: {"errCode":-1,"errMsg":"inner test source fail with errcode: 800059, err
msg: error: pages/qiping/index.js, file not found"}
at innerUpload (/app/jenkins-slave/workspace/msc-test-c-uat/dist/node_modules/miniprogram-ci/dist/ci/upload.js:1:4168)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async preview (/app/jenkins-slave/workspace/msc-test-c-uat/dist/node_modules/miniprogram-ci/dist/ci/preview.js:1:967)
at async Object. (/app/jenkins-slave/workspace/msc-test-c-uat/dist/node_modules/miniprogram-ci/dist/utils/report.js:1
:1426)
at async /app/jenkins-slave/workspace/msc-test-c-uat/dist/wxci.js:57:27
(Use `node --trace-warnings ...` to show where the warning was created)
(node:7921) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an asy
nc function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on u
nhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_reje
ctions_mode). (rejection id: 1)
(node:7921) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are no
t handled will terminate the Node.js process with a non-zero exit code.
实际pages/qiping/index.js文件存在,且目录层级正常,近期代码无变动
miniprogram-ci版本 2.0.4
npm 版本 6.14.15 node 版本 v14.18.1 miniprogram-ci版本 2.0.4
project.config.json中miniprogram必须时相对路劲 这个在开发者工具没有严格校验 使用miniprogram-ci上传会严格校验
2.0.10也有问题
使用1.9.8没问题,2.0.8就有问题
一样的问题,请问解决了吗