code-server: [Extension] Download rust-analyzer server stuck 100%

  • Web Browser: Chrome 83.0.4103.97
  • Local OS: Windows 10 2004
  • Remote OS: Ubuntu 20.04 LTS
  • Remote Architecture: amd64
  • code-server --version: 3.4.1 48f7c2724827e526eeaa6c2c151c520f48a61259

image image

I waiting for 2 hours, no response, no log.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (7 by maintainers)

Commits related to this issue

Most upvoted comments

Hi, guys, the author of the workaround in rust-analyzer here 😄 I’ll just add a small check for 13+ version of node before applying it. I didn’t know that the workaround does break the extension on newer versions (since vscode still uses v12)

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. 😦

@ocornoc The latest version of vscode-lldb has been properly available in the code-server marketplace. This leads me to think this is most likely a problem specific to `rust-analyzer.

@Tehnix @B4TT3RY I haven’t been able to replicate with the most recent version of rust-analyzer published 4 days ago. Can you please update and check if the issue persists?