收藏
回答

wx.createInferenceSession 报错

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug wx.createInferenceSession 微信iOS客户端 8.0.55 3.7.3

在调用 wx.createInferenceSession 报错 Cannot read properties of undefined (reading 'CreateAsync') , 已 尝试清除缓存,杀死进程重启微信后还是不行,不知道该如何解决, 求助!

SystemError (appServiceSDKScriptError)
Cannot read properties of undefined (reading 'CreateAsync')
TypeError: Cannot read properties of undefined (reading 'CreateAsync')
at new ib (WAServiceMainContext.js:1:755036)
at Object.Rk (WAServiceMainContext.js:1:790721)
at I (WAServiceMainContext.js:1:975426)
at Object.p (WAServiceMainContext.js:1:977543)
at Object.p [as createInferenceSession] (WASubContext.js:1:128426)
at (canvas-games/appservice.app.js:10:1780)
    at new Promise (<anonymous>)
at a.value (canvas-games/appservice.app.js:10:1736)
at Object.success (canvas-games/appservice.app.js:10:1028)
at I.forEach.m.<computed> (WAServiceMainContext.js:1:975063) 
{type: "string", description: "SystemError (appServiceSDKScriptError)\n
Cannot read properties of undefined (reading 'CreateAsync')\n
TypeError: Cannot read properties of undefined (reading 'CreateAsync')\n
at new ib (WAServiceMainContext.js:1:755036)\nat Object.Rk (WAServiceMainContext.js:1:790721)\n
at I (WAServiceMainContext.js:1:975426)\nat Object.p (WAServiceMainContext.js:1:977543)\n
at Object.p [as createInferenceSession] (WASubContext.js:1:128426)\nat (canvas-games/appservice.app.js:10:1780)\n    
at new Promise (<anonymous>)\nat a.value (canvas-games/appservice.app.js:10:1736)\n
at Object.success (canvas-games/appservice.app.js:10:1028)\n
at I.forEach.m.<computed> (WAServiceMainContext.js:1:975063)", value: "SystemError (appServiceSDKScriptError)\n
Cannot read properties of undefined (reading 'CreateAsync')\n
TypeError: Cannot read properties of undefined (reading 'CreateAsync')\n
at new ib (WAServiceMainContext.js:1:755036)\nat Object.Rk (WAServiceMainContext.js:1:790721)\n
at I (WAServiceMainContext.js:1:975426)\nat Object.p (WAServiceMainContext.js:1:977543)\n
at Object.p [as createInferenceSession] (WASubContext.js:1:128426)\nat (canvas-games/appservice.app.js:10:1780)\n   
 at new Promise (<anonymous>)\nat a.value (canvas-games/appservice.app.js:10:1736)\nat 
Object.success (canvas-games/appservice.app.js:10:1028)\nat I.forEach.m.<computed> (WAServiceMainContext.js:1:975063)"}


回答关注问题邀请回答
收藏
登录 后发表内容