今天遇到同样问题了。我是cocos 3.8.6编译的项目。在老版本的微信开发者工具里面能正常的测试预览,今天心血来潮去点击了开发者工具的自动升级,好了,现在编译都通过不了了。报同样的错误
关于新版本开发工具运行提示readFile:fail Parameter check error使用cocos3.8.0导出的微信小游戏使用 1.06.2412040版本模拟器游戏正常,上传为测试版本时手机上卡在启动页,想真机调试但提示不支持。所以升级开发工具版本到1.06.2503290后在开发者工具中就会提示以下一堆相关的错误,请问有什么解决方案吗?readFile:fail Parameter check error: parameter.encoding 字段需为 'ascii' | 'base64' | 'binary' | 'hex' | 'latin1' | 'ucs-2' | 'ucs2' | 'utf-16le' | 'utf-8' | 'utf16le' | 'utf8' Error: readFile:fail Parameter check error: parameter.encoding 字段需为 'ascii' | 'base64' | 'binary' | 'hex' | 'latin1' | 'ucs-2' | 'ucs2' | 'utf-16le' | 'utf-8' | 'utf16le' | 'utf8' at Object.fail (http://127.0.0.1:28955/game/web-adapter.js:3065:105) at Object.t (http://127.0.0.1:28955/game/__dev__/WAGameSubContext.js:1:158888) at Function.v.<computed> (http://127.0.0.1:28955/game/__dev__/WAGame.js:1:1459399) at p (http://127.0.0.1:28955/game/__dev__/WAGame.js:1:199128) at Object.fail (http://127.0.0.1:28955/game/__dev__/WAGame.js:1:199571) at http://127.0.0.1:28955/game/__dev__/WAGame.js:1:583520 at oe (http://127.0.0.1:28955/game/__dev__/WAGame.js:1:583672) at http://127.0.0.1:28955/game/__dev__/WAGame.js:1:583867 at r (http://127.0.0.1:28955/game/__dev__/WAGame.js:1:577184) at s (http://127.0.0.1:28955/game/__dev__/WAGame.js:1:116375)
05-20