请问如下问题是开发者工具的问题?还是?
发布于 5 年前 作者 xiulan70 5987 次浏览 来自 问答

昨天更新开发者工具到最新版本后,就一直报这个错,但也不影响项目调试,测试。

比较奇怪的是这个 at WebSocket._ws.onmessage

我运行别的不带websocket项目,也是提示这个报错。

后面是,所有项目都报这个错。。。。。。

如下所示:

VM2374:1

SystemError (appServiceSDKScriptError)

Cannot read property 'forceUpdate' of undefined

TypeError: Cannot read property 'forceUpdate' of undefined

at http://127.0.0.1:40842/appservice/__dev__/WAService.js:2:1338308

at http://127.0.0.1:40842/appservice/__dev__/WAService.js:2:648164

at o (http://127.0.0.1:40842/appservice/__dev__/asdebug.js:1:3197)

at e.exports.<anonymous> (http://127.0.0.1:40842/appservice/__dev__/asdebug.js:1:3577)

at http://127.0.0.1:40842/appservice/__dev__/asdebug.js:1:1844

at Array.forEach (<anonymous>)

at WebSocket._ws.onmessage (http://127.0.0.1:40842/appservice/__dev__/asdebug.js:1:1826)

1 回复

请具体描述问题出现的流程,并提供工具的版本号、能复现问题的简单代码片段https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

回到顶部