有人遇到这个问题吗?Connection to server got closed. Server will not be restarted.
当我签出到旧提交并在locus-dashboard
中时得到的(我们确实有旧版本的流程),然后切换回当前版本。然后它开始抛出错误Connection to server got closed. Server will not be restarted.
。
这是流量日志。
[Info - 12:03:15 PM - locus-dashboard-v2/.flowconfig] Found flow using option `useNPMPackagedFlow`
[Info - 12:03:16 PM - locus-dashboard-v2/.flowconfig] Using flow '/Users/shubanusharma/workspace/locus-dashboard-v2/node_modules/flow-bin/flow-osx-v0.111.3/flow' (v0.111.3)
Unhandled exception: (Sys_error "/tmp/daemon_param688afa.bin: Permission denied")
Raised by primitive operation at file "stdlib.ml", line 316, characters 29-55
Called from file "filename.ml", line 259, characters 7-73
Re-raised at file "filename.ml", line 261, characters 30-37
Called from file "hack/utils/sys/daemon.ml", line 267, characters 2-53
Called from file "hack/utils/jsonrpc/jsonrpc.ml", line 215, characters 4-357
Called from file "src/lsp/flowLsp.ml", line 1555, characters 15-36
Called from file "src/commands/commandUtils.ml", line 13, characters 4-32
[Error - 12:03:16 PM] Connection to server got closed. Server will not be restarted.
我已经尝试过清理节点模块,清除 yarn和npm cache,reinstalling扩展名。
这似乎是一个[[Catalina权限问题,将flow
与sudo
一起运行适用于流,但vscode扩展名仍然存在相同的问题。
tmp
文件夹权限更改为777,以解决此问题。yarn flow stop
/tmp
目录权限sudo chmod 777 /tmp
yarn flow start
cmd+p
(Windows ctrl+p
)类型restart client
,按Enter重新启动vscode流客户端>