Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keeps trying to download language server #6327

Closed
1 task done
redeemefy opened this issue Oct 7, 2023 · 1 comment
Closed
1 task done

Keeps trying to download language server #6327

redeemefy opened this issue Oct 7, 2023 · 1 comment
Labels
bug [core label] language server failure Language server doesn't work as expected language server An umbrella label for all language servers

Comments

@redeemefy
Copy link

Check for existing issues

  • Completed

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

Screenshot 2023-10-06 at 10 27 03 PM
Screenshot 2023-10-06 at 10 39 03 PM
Screenshot 2023-10-06 at 10 38 58 PM

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

@redeemefy redeemefy added admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue labels Oct 7, 2023
@JosephTLyons
Copy link
Collaborator

Hey @redeemefy,

This issue appears to be a duplicate of:

Would you mind upvoting the linked issue with a thumbs up (👍) so that we can keep all the votes in one place? I'll close this one out as a duplicate. If this is a mistake, please reopen this issue with a comment explaining the difference.

@JosephTLyons JosephTLyons added language server failure Language server doesn't work as expected language server An umbrella label for all language servers and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Oct 8, 2023
@JosephTLyons JosephTLyons transferred this issue from zed-industries/community Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [core label] language server failure Language server doesn't work as expected language server An umbrella label for all language servers
Projects
None yet
Development

No branches or pull requests

2 participants