private key 错误。 重新生成key的时候,要关闭浏览器插件,或使用无痕模式
CI报错 get new ticket fail innerCode: -80011?CodeError: Error: {"errCode":-1,"errMsg":"get new ticket fail innerCode: -80011"} at innerUpload (/home/gitlab-runner/builds/Lmiy6ZAB/0/ifirst/miniprogrammonorepo/node_modules/miniprogram-ci/dist/ci/upload.js:2:4091) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async upload (/home/gitlab-runner/builds/Lmiy6ZAB/0/ifirst/miniprogrammonorepo/node_modules/miniprogram-ci/dist/ci/upload.js:2:1014) at async Object.upload (/home/gitlab-runner/builds/Lmiy6ZAB/0/ifirst/miniprogrammonorepo/node_modules/miniprogram-ci/dist/utils/report.js:2:1403) at async upload (/home/gitlab-runner/builds/Lmiy6ZAB/0/ifirst/miniprogrammonorepo/packages/dtonetouchplus/ci/wx/index.js:45:3) { code: 20003 } 确认小程序appid和ci key对应得上 确认小程序代码上传密钥重新生成几次未解决 发生时间:2025年9月17日20点27分左右 appid: wx964ac644b4bbd352 时 间
2025-09-18npm包的autoprefixer的依赖browserslist latest 不支持低版本的node。 可以自己尝试锁定一下 "name": "browserslist", "version": "4.24.4", 或是使用基于2.1.27的 2.1.28
为何miniprogram-ci 发布报错,无法使用?{"id":"50000020","message":"Error: file: comp.js\n require() of ES Module /root/.npm/_npx/a93b959afbcaed73/node_modules/baseline-browser-mapping/dist/index.js from /root/.npm/_npx/a93b959afbcaed73/node_modules/browserslist/index.js not supported.\nInstead change the require of /root/.npm/_npx/a93b959afbcaed73/node_modules/baseline-browser-mapping/dist/index.js in /root/.npm/_npx/a93b959afbcaed73/node_modules/browserslist/index.js to a dynamic import() which is available in all CommonJS modules.","status":"fail"} [log] {"id":"50000021","message":"Error: file: comp.js\n require() of ES Module /root/.npm/_npx/a93b959afbcaed73/node_modules/baseline-browser-mapping/dist/index.js from /root/.npm/_npx/a93b959afbcaed73/node_modules/browserslist/index.js not supported.\nInstead change the require of /root/.npm/_npx/a93b959afbcaed73/node_modules/baseline-browser-mapping/dist/index.js in /root/.npm/_npx/a93b959afbcaed73/node_modules/browserslist/index.js to a dynamic import() which is available in all CommonJS modules.","status":"fail"} child process stdout: runAllAsync error: CustomError: file: comp.js require() of ES Module /root/.npm/_npx/a93b959afbcaed73/node_modules/baseline-browser-mapping/dist/index.js from /root/.npm/_npx/a93b959afbcaed73/node_modules/browserslist/index.js not supported. Instead change the require of /root/.npm/_npx/a93b959afbcaed73/node_modules/baseline-browser-mapping/dist/index.js in /root/.npm/_npx/a93b959afbcaed73/node_modules/browserslist/index.js to a dynamic import() which is available in all CommonJS modules. at enhance (/root/.npm/_npx/a93b959afbcaed73/node_modules/miniprogram-ci/dist/modules/corecompiler/summer/plugins/enhance.js:1:1579) at doTransform (/root/.npm/_npx/a93b959afbcaed73/node_modules/miniprogram-ci/dist/modules/corecompiler/summer/plugins/enhance.js:1:1827) at Object.runSummerPluginHook (/root/.npm/_npx/a93b959afbcaed73/node_modules/miniprogram-ci/dist/modules/corecompiler/summer/worker.js:1:1239) { code: 10045, plugin: 'summer-enhance', hook: 'transform', path: 'comp.js' } 通过gitlab ci的构建提示以上错误 npx --yes miniprogram-ci upload \ -r $ROBOT_NO --uv "$CI_COMMIT_BRANCH" --ud "$CI_COMMIT_MESSAGE" \ --pp ./web_resv/dist \ --appid xxxx \ --pkp ./web_resv/config/private.xxx.key \ --enable-es6 true
2025-09-15ci哪一个版本
miniprogram-ci 包 getCompiledResult 方法一直 pending?使用 miniprogram-ci(2.1.26版,升级之前是1.8.25版没这个问题) 的 getCompiledResult 获取编译后产物,控制台一直 pending 无返回,编译后的包实际能获取到。 const ci = require('miniprogram-ci'); const path = require('path'); const { WX_COMPILE_CONFIG } = require('../constant.js'); const createProject = require('../utils/createProject.js'); module.exports = async function ({ version = '1.0.0', zipPath = 'compiledResult.zip' } = {}) { const project = await createProject(...arguments); await ci.getCompiledResult( { project, version, setting: WX_COMPILE_CONFIG, onProgressUpdate: () => {} }, path.join(process.cwd(), zipPath), {} ); console.log('end.'); };
2025-09-12暂不支持同时多个
miniprogram-ci不同微信小程序同时上传只成功一个?miniprogram-ci 2.1.14 不同微信小程序同时上传只成功一个,另一个会卡住 同一个微信小程序同时上传和预览,上传会被卡住
2025-09-08关掉chrome的 浏览器插件或是 用无痕模式重试。
miniprogram-ci upload出错?ci工具上传代码出错,提示 {"errCode":-1,"errMsg":"get new ticket fail innerCode: -80011"} miniprogram-ci upload --pp . --pkp private.wx2827c2d76bbf2d9a.key --appid wx2827c2d76bbf2d9a --uv 2.0.2 -r 5 --ud 12 --enable-minify true --enable-es6 true --enable-es7 true 上传密钥已经重置十几次了,还是无法上传代码。
2025-09-01windowHeight = screenHeight - screenTop [图片]
微信开发者工具使用wx.getWindowInfo获取windowHeight数值错误在微信开发者工具里边 API:wx.getWindowInfo() 获取到的windowHeight数值错误 非skyline项目,页面配置自定义导航栏,获取的windowHeight数值是错误的 但是已经弃用的API:getSystemInfoSync 在同等情况下获取的windowHeight是正确的。 [图片]
2025-08-18先回退一些版本试试
开发者工具出现大量的日志写入,然后内存满触发编辑器重启。[图片] log writeFile err writeFile:fail the maximum size of the file storage limit is exceeded 开发者工具出现大量的日志写入,然后内存满触发编辑器重启。 当前版本:2.01.2508122 darwvin-arm64
2025-08-15可以复现的代码片段
微信开发者工具个别组件审查不了样式?,控制台没有样式属性出来[图片][图片]
2025-08-15“上传时过滤无依赖文件” 看看是不是这个配置开了。然后自己用了require了变量导致的
使用开发者工具编译上传代码时,发现上传后缺少文件,但是重新编译之后又好了?开发工具版本(1.06.2504010 darwin-arm64)上传代码之后,会出现某一个js文件不存在的error 而且是随机某一个文件不存在,已经出现了2次发布到线上才发现 但是不做任何修改,重新点击编译,就没有这个问题了 [图片]
2025-08-13变量压缩后 和 sourcemap的显示可能对不齐,需要看看上面有没有被修改成了_this之类的别的变量。 console出来应该是对的。如果console都是错的,就说明作用域错了
微信开发工具的真机器调试为什么拿不到页面的js的that.data数据?下面这段是代码 [图片] 下面这是编译后的js打断点,这个e对应js中的变量isAllowConnect [图片] 下面是想要查看data中数据但是却显示undefined,就连data本身都是undefined(这张图片是用手机拍的,兄弟们勉强看一下吧) [图片] 最后补充一张data中确实是有这个变量的 [图片]
2025-08-12