微信版本升级后,真机调试页面为何出现加载异常[appServiceSDKScriptError]?
发布于 6 年前 作者 guoyong 13082 次浏览 来自 问答

开发者工具版本:1.02.1911180

操作系统版本:MacOS 10.15

微信版本:IOS/7.0.11

基础库版本:2.4.4

问题描述:

微信版本从7.0.10升级至7.0.11后,真机调试时出现异常,页面无法正常加载

------------------------------------------

appServiceSDKScriptError

Cannot read property ‘[XXXX].html’ of undefined;at api onAppRouteDone callback function

TypeError: Cannot read property ‘pages/global/user-login/user-login.html’ of undefined

    at eval (eval at n.call.document (http://127.0.0.1:46046/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:1:325464)

    at eval (eval at n.call.document (http://127.0.0.1:46046/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:1:325725)

    at eval (eval at n.call.document (http://127.0.0.1:46046/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:1:254853)

    at Object.b (eval at n.call.document (http://127.0.0.1:46046/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:1:1719)

    at Object.value [as subscribeHandler] (http://127.0.0.1:46046/remote-debug/runtime.js?devtools_ignore=true:1:16936)

    at eval (eval at c (http://127.0.0.1:46046/remote-debug/runtime.js?devtools_ignore=true:1:6447), <anonymous>:1:17)

    at eval (<anonymous>)

    at c (http://127.0.0.1:46046/remote-debug/runtime.js?devtools_ignore=true:1:6447)

    at w (http://127.0.0.1:46046/remote-debug/runtime.js?devtools_ignore=true:1:17604)

    at WebSocket.ke.onmessage (http://127.0.0.1:46046/remote-debug/runtime.js?devtools_ignore=true:1:20310)

------------------------------------------

基础库版本调整成 2.10.0 可正常调试

同环境预览正常无报错

回到顶部