个人案例
- 城市足印
这个小程序是介绍公众号“读诗经识汉字”的。
读诗经识汉字扫码体验
在最新版微信开发者工具中使用2.33.0基础库遇到完全相同的问题,出现在执行调用wx.cloud.init语句时。日志如下: catch sdkSubPackage: cloudSDK error: TypeError: t is not a function at <anonymous>:1:310 at <anonymous>:1:362136 at $ (VM12 subasdebug.js:1) at b.evalScriptSync (VM12 subasdebug.js:1) at E (VM12 subasdebug.js:1) at t.loadLibFiles (VM12 subasdebug.js:1) at M (WAServiceMainContext.js?t=wechat&s=1690956193544&v=2.33.0:1) at R (WAServiceMainContext.js?t=wechat&s=1690956193544&v=2.33.0:1) at Object.loadSubContextLibFile (WAServiceMainContext.js?t=wechat&s=1690956193544&v=2.33.0:1) at OEe (WAServiceMainContext.js?t=wechat&s=1690956193544&v=2.33.0:1)(env: Windows,mp,1.06.2307250; lib: 2.33.0)。 此外,还发现使用真机调试就不会报错,而真机的微信版本是安卓8.0.37,对应的基础库版本是2.33.0,所以说明:一定是微信开发者工具中的基础库有问题,请官方解决。
更新到2.30.4和以上任何版本基础库都报错?VM877:1 catch sdkSubPackage: cloudSDK error: TypeError: t is not a function at <anonymous>:1:310 at <anonymous>:1:359464 at $ (VM12 subasdebug.js:1) at b.evalScriptSync (VM12 subasdebug.js:1) at E (VM12 subasdebug.js:1) at t.loadLibFiles (VM12 subasdebug.js:1) at M (WAServiceMainContext.js?t=wechat&s=1686965988552&v=2.32.2:1) at R (WAServiceMainContext.js?t=wechat&s=1686965988552&v=2.32.2:1) at Object.loadSubContextLibFile (WAServiceMainContext.js?t=wechat&s=1686965988552&v=2.32.2:1) at wPe (WAServiceMainContext.js?t=wechat&s=1686965988552&v=2.32.2:1)(env: Windows,mp,1.06.2306020; lib: 2.32.2)[图片] 基础库2.30.3就没有报错,看不懂错误信息,也找不到错误位置,这是什么原因引起的,请大神指教要怎么解决啊啊啊
2023-08-02