看我发的https://developers.weixin.qq.com/community/develop/article/doc/000822d3db4d4051ec147ab876e413
unknown file: path.requeueComputedKeyAndDecoratorsminiprogram-ci preview 上传代码报错。 报错1: unknown file: path.requeueComputedKeyAndDecorators is not a function at enhance (/usr/local/lib/node_modules/miniprogram-ci/dist/modules/corecompiler/summer/plugins/enhance.js:1:1579) at doTransform (/usr/local/lib/node_modules/miniprogram-ci/dist/modules/corecompiler/summer/plugins/enhance.js:1:1827) at Object.runSummerPluginHook (/usr/local/lib/node_modules/miniprogram-ci/dist/modules/corecompiler/summer/worker.js:1:1225) { code: 10045, path: 'app/components/block-item/index.js' 报错2: { type: 'SummerError', message: 'TypeError: _traverse.visitors.environmentVisitor is not a function', stack: 'TypeError: _traverse.visitors.environmentVisitor is not a function\n' + ' at Object.<anonymous> (/usr/local/bin/global/5/.pnpm/node_modules/@babel/helper-replace-supers/lib/index.js:22:51)\n' + ' at Module._compile (node:internal/modules/cjs/loader:1159:14)\n' + ' at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n' + code: 10046, path: 'miniprogram/api/account.ts', plugin: 'summer-typescript', hook: 'load' } 测试了一下npm包的版本均有问题。 miniprogram-ci@2.0.6 miniprogram-ci@2.0.4 miniprogram-ci@1.9.16 miniprogram-ci@1.9.8 配置如下: miniprogram-ci preview \ -v false \ --pp ./dist \ --pkp ./private-key.txt \ --enable-es6 true \ --enable-es7 true \ --enable-minify true \ --enable-allowIgnoreUnusedFiles true \ --enable-autoprefixwxss true \ --uv ***** \ --ud ***** \ --appid ***** \ -r 1 上周五还能用,今天周一我们公司所有的小程序CI全部异常。
10-24看我发的https://developers.weixin.qq.com/community/develop/article/doc/000822d3db4d4051ec147ab876e413
miniprogram-ci上传代码失败,但是预览可以?如标题,upload提交命令执行的时候,返回报错: {"errCode":-1,"errMsg":"3rd upload or preview error, dev platform ext appid not auth"} 但是同样的配置,同样的命令,preview命令是可以正常运行的 而且该upload的命令在前几天都是可以,从昨天开始出现,经过搜索,绑定extAppid之类的操作https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/Authorization_Process_Technical_Description.html也重新绑定,问题依旧,实在找不到其他问题了。麻烦官方帮忙查看下 采用的upload命令如下: miniprogram-ci upload --appid=wxd9a28df0646534d8 --project-path='xxx' --enable-es6=true --enable-es7=true --enable-minify=true --private-key-path='xxx' --uv=xxx --ud=xxx --locale=zh 返回报错: 20003 Error: {"errCode":-1,"errMsg":"3rd upload or preview error, dev platform ext appid not auth"} (node:51411) UnhandledPromiseRejectionWarning: Error: Error: {"errCode":-1,"errMsg":"3rd upload or preview error, dev platform ext appid not auth"} 附: miniprogram-ci版本号: 1.0.94 os: darwin / x64 ext.json部分代码: { "extEnable": true, "extAppid": "wxd9a28df0646534d8", "directCommit": false, ..... }
10-24看我发的https://developers.weixin.qq.com/community/develop/article/doc/000822d3db4d4051ec147ab876e413
miniprogram-ci主包大小计算有误?20003 Error: {"errCode":-1,"errMsg":"inner upload fail with errcode: 80200, errmsg: main package source size 2126KB exceed max limit 2MB"} user-agent = "npm/6.14.8 node/v12.19.0 win32 x64" [图片]
10-24