-
Notifications
You must be signed in to change notification settings - Fork 106
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
Failed to run 'elixir' command. ElixirLS will probably fail to launch. #208
Comments
I've done my very best to debug this myself, plus looking various issues and bug reports. I have two guesses:
|
Please ensure that elixir is in PATH env of vscode process. I guess it's not correctly lading your bash_rc/bash_profile. Use search - there were already similar reports before.
Closing as this confirms that it's not a problem with elixir-ls itself. If you find it's a problem with the vscode extension please open an issue in https://github.com/elixir-lsp/vscode-elixir-ls |
It's definitely in my |
@lukaszsamson Can you just move this issue over to that repo please? I don't want to have to copy and paste all this. |
What really matters is wether vscode process has proper PATH environment set.
Verify that the session that loads vscode loads bash_rc/pash_profile correctly. |
I dont't have access in that repo. @axelson? |
Transferred! And I just gave you permissions to handle it next time. @krainboltgreene I've never used codespaces before (and we don't explicitly support it), but is asdf loaded in your codespace? |
@axelson Yep! You can see it at krainboltgreene/blank-application. |
Okay so this is the path it outputs:
I've also confirmed this with the default elixir codespace container. |
Environment
Erlang/OTP 24 [erts-12.0.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit] Elixir 1.12.1 (compiled with Erlang/OTP 24)
Linux 033d18dbe177 5.4.0-1055-azure elixir-lsp/elixir-ls#57~18.04.1-Ubuntu SMP Fri Jul 16 19:40:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
VSCode (Codespaces)
Output logs:
Developer Tool logs:
I manually ran
/home/codespace/.vscode-remote/extensions/jakebeck…xir-ls-0.8.1/elixir-ls-release/language_server.sh
in my terminal and it booted up just fine.The text was updated successfully, but these errors were encountered: