rust-analyzer: VSCode: Cannot destructure property `releaseName` of 'undefined' or 'null'
I just installed the rust-analyzer extension on vscode and it was unable to download the binary automatically. it gave me the following error:
Failed to download language server from rust-analyzer GitHub repository: Cannot destructure property
releaseNameof ‘undefined’ or ‘null’.
My environment:
- manjaro linux
- rust: stable-x86_64-unknown-linux-gnu (default) rustc 1.41.0 (5e1a79984 2020-01-27)
- vscode 1.41.1
- rust-analyzer: 0.1.20200211
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 28 (19 by maintainers)
Yeah, and you need to update the vscode to 1.42 😅 (#3139)
Ah. that version is not in my package manager yet. Manjaro usually runs a week-ish behind Arch.
As of today, 1.42.1 landed in Manjaro. I can confirm the the install works correctly now.
yes, I was refering to the ubuntu directories my actual command is:
and the global storage had no matklad directory
No i did not
when I install the extension the only log i have regarding rust-analyzer
then when i click
Download nowbutton:A command and a preference change away 😃. Confusion will ensue otherwise.
Interesting, when I uninstall the extensions and search for it, it show the right version (
0.1.20200224). However once I install it, it reverts to the version mentioned in the description (0.1.20200211)yes i just installed it.
When i run the
Extensions: Check for extensions updatecommand in vscode it tells me all extensions are up to date