云函数本地运行,console.log无法输出日志,前一天还可以,突然所有console.log日志都无法输出,HBX用的最新版3.4.7。
云上运行则可以输出日志。
小栈
- 发布:2022-06-01 00:49
- 更新:2022-06-02 07:48
- 阅读:901
云函数本地运行console.log无法输出日志
分类:uniCloud
小栈 (作者)
升级至内测版3.4.13.20220601-alpha后,运行失败,控制台提示:connect ECONNREFUSED 192.168.10.100:9000,运行日志:2022-06-02 20:12:56.287 [WARNING:] [Expression] "Unsupport Expr : unicloud.canShowClientDBActionDeleteFiles"
2022-06-02 20:16
小栈 (作者)
HBX正式版最新版3.4.7,本地运行云函数,console.log无法输出日志,运行日志也提示:"Unsupport Expr : unicloud.canShowClientDBActionDeleteFiles"。完整运行日志如下:
2022-06-02 20:18:25.186 [WARNING:] [Expression] "Unsupport Expr : unicloud.canShowClientDBActionDeleteFiles"
2022-06-02 20:18:26.583 [WARNING:] QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
2022-06-02 20:18:26.583 [WARNING:] QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
2022-06-02 20:18:28.732 [WARNING:] [PluginHost] Error Code (PluginHost): -32603
2022-06-02 20:18:28.732 [WARNING:] [PluginHost] Error Stack (PluginHost):
2022-06-02 20:18:28.732 [WARNING:] [PluginHost] Request plugin/invokeApi failed with message: Error: connect ECONNREFUSED 192.168.10.100:9230
2022-06-02 20:18:28.732 [WARNING:] [PluginHost] at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1144:16)
2022-06-02 20:19
小栈 (作者)
HBX正式版最新版3.4.7 前两三天console.log可以输出日志,后面突然就不能输出日志
2022-06-02 20:32
DCloud_uniCloud_WYQ
回复 小栈:
控制台提示:connect ECONNREFUSED 192.168.10.100:9000
这个是指HBuilderX的控制台吗?运行日志:2022-06-02 20:12:56.287 [WARNING:] [Expression] "Unsupport Expr : unicloud.canShowClientDBActionDeleteFiles"
这个应该是HBuilderX的日志文件里面的内容吧,不影响本地调试。你可以把HBuilderX控制台上完整的信息贴出来看下2022-06-06 14:44