-
Notifications
You must be signed in to change notification settings - Fork 60
Closed
Description
Reproduce:
- Enable inlay hints
- Open a
.res
file - Remove it from disk (eg by performing a
git switch
to a branch without this file)
Popup:
The ReScript Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
Output:
[Info - 5:57:14 PM] Connection to server got closed. Server will restart.
can't find module Foo-Provisioner
Fatal error: exception Sys_error("/home/bart.schuurmans/engineering/lumi/frontend/provisioner/src/Foo.res: No such file or directory")
node:child_process:887
throw err;
^
Error: Command failed: /nix/store/314bjfskil067azll0z703q0b8sgmam6-vscode-extension-chenglou92-rescript-vscode-1.5.11/share/vscode/extensions/chenglou92.rescript-vscode/server/analysis_binaries/linux/rescript-editor-analysis.exe inlayHint /home/bart.schuurmans/engineering/lumi/frontend/provisioner/src/Foo.res 0 2 25
Fatal error: exception Sys_error("/home/bart.schuurmans/engineering/lumi/frontend/provisioner/src/Foo.res: No such file or directory")
at checkExecSyncError (node:child_process:846:11)
at Object.execFileSync (node:child_process:884:15)
at Object.func (node:electron/js2c/asar_bundle:5:1812)
at runAnalysisAfterSanityCheck (/nix/store/314bjfskil067azll0z703q0b8sgmam6-vscode-extension-chenglou92-rescript-vscode-1.5.11/share/vscode/extensions/chenglou92.rescript-vscode/server/out/utils.js:150:31)
at Object.runAnalysisCommand (/nix/store/314bjfskil067azll0z703q0b8sgmam6-vscode-extension-chenglou92-rescript-vscode-1.5.11/share/vscode/extensions/chenglou92.rescript-vscode/server/out/utils.js:155:58)
at inlayHint (/nix/store/314bjfskil067azll0z703q0b8sgmam6-vscode-extension-chenglou92-rescript-vscode-1.5.11/share/vscode/extensions/chenglou92.rescript-vscode/server/out/server.js:319:28)
at process.onMessage (/nix/store/314bjfskil067azll0z703q0b8sgmam6-vscode-extension-chenglou92-rescript-vscode-1.5.11/share/vscode/extensions/chenglou92.rescript-vscode/server/out/server.js:942:22)
at process.emit (node:events:390:28)
at emit (node:internal/child_process:917:12)
at processTicksAndRejections (node:internal/process/task_queues:84:21) {
status: 2,
signal: null,
output: [
null,
Buffer(0) [Uint8Array] [],
Buffer(135) [Uint8Array] [
70, 97, 116, 97, 108, 32, 101, 114, 114, 111, 114, 58,
32, 101, 120, 99, 101, 112, 116, 105, 111, 110, 32, 83,
121, 115, 95, 101, 114, 114, 111, 114, 40, 34, 47, 104,
111, 109, 101, 47, 98, 97, 114, 116, 46, 115, 99, 104,
117, 117, 114, 109, 97, 110, 115, 47, 101, 110, 103, 105,
110, 101, 101, 114, 105, 110, 103, 47, 108, 117, 109, 105,
47, 102, 114, 111, 110, 116, 101, 110, 100, 47, 112, 114,
111, 118, 105, 115, 105, 111, 110, 101, 114, 47, 115, 114,
99, 47, 70, 111,
... 35 more items
]
],
pid: 339699,
stdout: Buffer(0) [Uint8Array] [],
stderr: Buffer(135) [Uint8Array] [
70, 97, 116, 97, 108, 32, 101, 114, 114, 111, 114, 58,
32, 101, 120, 99, 101, 112, 116, 105, 111, 110, 32, 83,
121, 115, 95, 101, 114, 114, 111, 114, 40, 34, 47, 104,
111, 109, 101, 47, 98, 97, 114, 116, 46, 115, 99, 104,
117, 117, 114, 109, 97, 110, 115, 47, 101, 110, 103, 105,
110, 101, 101, 114, 105, 110, 103, 47, 108, 117, 109, 105,
47, 102, 114, 111, 110, 116, 101, 110, 100, 47, 112, 114,
111, 118, 105, 115, 105, 111, 110, 101, 114, 47, 115, 114,
99, 47, 70, 111,
... 35 more items
]
}
[Info - 5:57:14 PM] Connection to server got closed. Server will restart.
Metadata
Metadata
Assignees
Labels
No labels