npm install -g miniprogram-ci@1.8.0
miniprogram-ci upload --pp $APP_PROJECT_DIR --pkp '$MINIPROGRAM_CI_PRIVATE_KEY_PATH/.$NODE_ENV.private.key' --appid $APP_ID --uv $VERSION --ud '$DESCRIPTION' -r $([[ $CI_COMMIT_REF_NAME == \"master\" ]] && echo 3 || [[ $CI_COMMIT_REF_NAME == \"pre-release\" ]] && echo 1 || echo 2) --enable-es6 true --enable-es7 true --enable-minify true --enable-autoprefixwxss true
miniprogram-ci@1.9.8 有一样的问题。
miniprogram-ci preview xxx --pp ./dist --appid "xxx" --pkp "xxx" --uv "xxx" --enable-minify trueh
会不停报 .wxss 文件 undefined。而且每次报错的文件不同 .w.xss: undefined
done: pages/xxx/index.wxss processing: pages/yyy/yyy.wxss Error: pages/xxx/index.wxss: undefined 1123 at throwError (/miniprogram-ci/dist/utils/common.js:2:1095) 1124 at d (/miniprogram-ci/dist/core/compile/handler/wxss.js:2:1257) 1125 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 1126 at async compileWXSS (/miniprogram-ci/dist/core/compile/handler/wxss.js:2:1522) 1127 at async Promise.all (index 2) 1128 at async compileWXSSFiles (/miniprogram-ci/dist/core/compile/common.js:2:3357) 1129 at async compile (/miniprogram-ci/dist/core/compile/mini_program.js:2:2295) 1130 at async innerUpload (/miniprogram-ci/dist/ci/upload.js:2:1968) 1131 at async preview (/miniprogram-ci/dist/ci/preview.js:2:965) 1132 at async Proxy.<anonymous> (/miniprogram-ci/dist/utils/report.js:2:1403) { 1133 code: 10009, 1134 path: 'xxx/index.wxss' 1135}
+1 目测微信服务器被淹了😂