转述微信官方支持同学的回复:试试 1.9.17 版本的 miniprogram-ci
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全部异常。
07-29主要想请问如何修复或避免此类报错?
APP-SERVICE-SDK:setStorageSync:fail write DB data调用同步写入缓存接口时报错,缓存数据为 string 类型,枚举值:"0", "1",示例: wx.setStorageSync("xxx", "1") 客户端基础库版本:2.25.4 设备机型:iPhone / ios iOS 16.4.1 发生报错前,调用 wx.getStorageInfoSync 返回的 currentSize 是 1,当前占用的空间大小 为 1 KB,并且数据的存、取是正常的
2023-07-07