-
Notifications
You must be signed in to change notification settings - Fork 163
Error installing RLS #203
Comments
This also happened to me on macOS High Sierra. The RLS definitely worked after the macOS security patch. However, I think it was the I tried to reinstall the "rust.rustup": {
"toolchain": "stable-x86_64-apple-darwin",
"nightlyToolchain": "nightly-2017-11-28-x86_64-apple-darwin"
}, |
Same on (arch) Linux.
|
Same issue here, on macOS 10.13.1
|
This appears to be a problem with RLS itself: rust-lang/rls#611 It sounds like the core problem is that RLS hasn't been building correctly for the last few days, and so it isn't available in the nightly build. I was able to get the errors to go away by following the instructions in this comment: rust-lang/rls#611 (comment)
I don't get any errors about being unable to install or initialize RLS now, but it can't figure out trivial "go to definition" tasks. If I right click a local variable to a function and select go to definition, it says it can't find the definition, etc. So i think it's still silently failing somewhere, but it could be an unrelated issue to installation. Edit: After figuring out how to open up the RLS output log, the "silently failing" issue I mentioned before appears to be this: #188 |
Update: I got it working by using the 12-01 nightly:
Then set |
Worked for me |
We know that this is a upstream "bug" & have a workaround. So it seems that this issue can be closed. |
I agree. With the bug being on RLS and not on the plugin. I'll be closing this. Thank you all. |
May be should mention this problem in the README.md |
Thanks! |
I'm getting the "Could not install RLS component (rls-preview)" myself and I'm using stable rust (i.e. rustup's default toolchain is stable 1.22.1), so I'm not sure why the nightly problems would be affecting me. Is this extension supposed to work on Stable rust? If not, the README should probably state that. |
Uh oh!
There was an error while loading. Please reload this page.
Three things got updated and RLS, which was installed and working before, was gone and the plugin prompted to install it again, and failed.
rustup update
which removed some components. I don't have the output of that unfortunately...The plugin tried to install the right components again (but I never uninstalled it, so maybe
rustup update
deleted it?):And that's what happens when I choose yes to install RLS:
I'm running stable Rust, but I also have nightly installed.
The text was updated successfully, but these errors were encountered: