Keeps trying to download language server #6327
Labels
bug
[core label]
language server failure
Language server doesn't work as expected
language server
An umbrella label for all language servers
Check for existing issues
Describe the bug / provide steps to reproduce it
Just downloaded the text editor and opened an existing Node project I have with NestJS and Typescript. In the bottom left status bar I keep seen that its downloading TypeScript language server and Checking for updates on TypeScript language server. I opened the ActivityMonitor window and see multiple processes running from npm trying to do the same thing
Environment
OSX Sonoma
Zed 0.106.2
If applicable, add mockups / screenshots to help explain present your vision of the feature
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.If you only need the most recent lines, you can run the
zed: open log
command palette action to see the last 1000.44 2023-10-07T03:45:44 [INFO] Node runtime install_if_needed
43 2023-10-07T03:45:45 [INFO] Node runtime install_if_needed
42 2023-10-07T03:45:46 [INFO] Node runtime install_if_needed
41 2023-10-07T03:45:47 [INFO] Node runtime install_if_needed
40 2023-10-07T03:45:48 [INFO] Node runtime install_if_needed
39 2023-10-07T03:45:48 [ERROR] invalid LSP message header ""
38 2023-10-07T03:45:48 [ERROR] Broken pipe (os error 32)
37 2023-10-07T03:45:48 [ERROR] server shut down
36 2023-10-07T03:45:48 [ERROR] failed to start language server "json-language-server": oneshot canceled
35 2023-10-07T03:45:48 [ERROR] crates/zed/src/languages/json.rs:178: no cached binary
34 2023-10-07T03:45:48 [INFO] About to spawn test binary
33 2023-10-07T03:45:48 [WARN] test binary failed to launch
32 2023-10-07T03:45:48 [WARN] test binary check failed
31 2023-10-07T03:45:48 [INFO] beginning to reinstall server
30 2023-10-07T03:45:48 [INFO] deleting server container
29 2023-10-07T03:45:48 [INFO] starting language server "json-language-server", path: "/Users//workspace/khal-drogo", id: 403
28 2023-10-07T03:45:48 [INFO] Node runtime install_if_needed
27 2023-10-07T03:45:49 [INFO] Node runtime install_if_needed
26 2023-10-07T03:45:49 [INFO] Node runtime install_if_needed
25 2023-10-07T03:45:50 [ERROR] invalid LSP message header ""
24 2023-10-07T03:45:50 [ERROR] failed to start language server "typescript-language-server": oneshot canceled
23 2023-10-07T03:45:50 [ERROR] Broken pipe (os error 32)
22 2023-10-07T03:45:50 [ERROR] server shut down
21 2023-10-07T03:45:50 [ERROR] crates/zed/src/languages/typescript.rs:191: missing executable in directory "/Users//Library/Application Support/Zed/languages/typescript-language-server"
20 2023-10-07T03:45:50 [INFO] About to spawn test binary
19 2023-10-07T03:45:50 [WARN] test binary failed to launch
18 2023-10-07T03:45:50 [WARN] test binary check failed
17 2023-10-07T03:45:50 [INFO] beginning to reinstall server
16 2023-10-07T03:45:50 [INFO] deleting server container
15 2023-10-07T03:45:50 [INFO] starting language server "typescript-language-server", path: "/Users//workspace/khal-drogo", id: 404
14 2023-10-07T03:45:50 [INFO] Node runtime install_if_needed
13 2023-10-07T03:45:51 [INFO] Node runtime install_if_needed
12 2023-10-07T03:45:52 [ERROR] invalid LSP message header ""
11 2023-10-07T03:45:52 [ERROR] Broken pipe (os error 32)
10 2023-10-07T03:45:52 [ERROR] server shut down
9 2023-10-07T03:45:52 [ERROR] failed to start language server "json-language-server": oneshot canceled
8 2023-10-07T03:45:52 [ERROR] crates/zed/src/languages/json.rs:178: no cached binary
7 2023-10-07T03:45:52 [INFO] About to spawn test binary
6 2023-10-07T03:45:52 [WARN] test binary failed to launch
5 2023-10-07T03:45:52 [WARN] test binary check failed
4 2023-10-07T03:45:52 [INFO] beginning to reinstall server
3 2023-10-07T03:45:52 [INFO] deleting server container
2 2023-10-07T03:45:52 [INFO] starting language server "json-language-server", path: "/Users/gilbertodiaz/workspace/khal-drogo", id: 405
1 2023-10-07T03:45:52 [INFO] Node runtime install_if_needed
5861 2023-10-07T03:45:53 [INFO] Node runtime install_if_needed
The text was updated successfully, but these errors were encountered: