-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[Extension] Download rust-analyzer server stuck 100% #1810
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
Comments
Does it work for you with local VS Code? |
Yes it works. |
I had previously worked around this by setting the
Previously it would be stuck at 100% without this setting, and work with it. Now it's stuck regardless. Can also confirm local VS Code installations work (on macOS and Ubuntu). |
cc @cmoog |
I'm also getting this issue in code-server. |
@ocornoc The latest version of @Tehnix @B4TT3RY I haven't been able to replicate with the most recent version of |
|
fwiw I just tried version 0.2.216 of the extension and the server downloaded without any issues. |
Still an issue with Rust-Analuzer version 0.2.224. I'm wondering if it's more of a permission issue then? I'm running 3.4.1 on Ubuntu using the |
There should be a |
Ahhh nevermind I was able to replicate on Node 14 which is what we ship with code-server. I was running with Node 12. It looks like the extension has a workaround for a bug in Node 12 but the bug is fixed in Node 13+ and the workaround ends up causing this bug instead. They have a note to remove the workaround once VS Code updates their Node version. @nhooyr maybe we'll need to target the same Node version VS Code uses after all. :( |
In the meantime, it looks like the file does download, the bug is just that the promise doesn't resolve. So one workaround would be to rename the temporary file in that directory I mentioned to Another workaround would be to modify code-server to run with Node 12 instead, for example by editing or overriding the systemd service. |
Seeing same issue both with |
I tried renaming the file to |
Possible workaround is available in rust-lang/rust-analyzer#3167 |
Hi, guys, the author of the workaround in rust-analyzer here :D |
5841: Gate stream.pipeline workaround on fixed versions of node r=matklad a=Veetaha Fixes the symptom of coder/code-server#1810 Original report here: #3167 (comment) Thanks to @hjfreyer for precise investigation :D Co-authored-by: Veetaha <[email protected]>
code-server --version
: 3.4.1 48f7c27I waiting for 2 hours, no response, no log.
The text was updated successfully, but these errors were encountered: