You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Editor Plugin/LSP Client name and version: ElixirLS v0.14.7: 6 May 2023
Current behavior
Server fails to start in Ubuntu 22.04 on WSL. I used asdf to install elixir 1.14.5 and Erlang 26.0. I have the WSL extention installed in VSCode. I followed the installation instructions for VScode as listed and also went through the troubleshooting section.
I also tried to run in a docker container using the Dev Containers extension and received the same error.
Starting ElixirLS release v0.14.6
Running in /home/arafatm/code/empty
[Info - 6:50:13 PM] Started ElixirLS v0.14.6
[Info - 6:50:13 PM] Running in /home/arafatm/code/empty
[Info - 6:50:13 PM] ElixirLS built with elixir "1.14.5" on OTP "26"
[Info - 6:50:13 PM] Running on elixir "1.14.5 (compiled with Erlang/OTP 24)" on OTP "26"
[Info - 6:50:13 PM] Protocols are not consolidated
[Info - 6:50:13 PM] Elixir sources not found (checking in /home/build/elixir). Code navigation to Elixir modules disabled.
Runtime terminating during boot ({badarg,[{io,put_chars,[standard_error,[_]],[{_},{_},{_}]},{Elixir.Kernel.CLI,exec_fun,2,[{_},{_}]},{Elixir.Kernel.CLI,run,1,[{_},{_}]},{init,start_em,1,[]},{init,do_boot,3,[]}]})
Crash dump is being written to: erl_crash.dump...done
[Error - 6:50:15 PM] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 6:50:15 PM] The ElixirLS - empty server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Error - 6:50:15 PM] ElixirLS - empty client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 6:50:15 PM] Restarting server failed
Message: Pending response rejected since connection got disposed
Code: -32097
I tried with a minimal mix new empty
Expected behavior
I'd expect that having installed elixir and erlang, when I enable the VSCode extension for it to work? I also tried to find documentation on how to start the server manually on the command line but wasn't able to.
The text was updated successfully, but these errors were encountered:
Precheck
Environment
Current behavior
Server fails to start in Ubuntu 22.04 on WSL. I used asdf to install elixir 1.14.5 and Erlang 26.0. I have the WSL extention installed in VSCode. I followed the installation instructions for VScode as listed and also went through the troubleshooting section.
I also tried to run in a docker container using the Dev Containers extension and received the same error.
I tried with a minimal
mix new empty
Expected behavior
I'd expect that having installed elixir and erlang, when I enable the VSCode extension for it to work? I also tried to find documentation on how to start the server manually on the command line but wasn't able to.
The text was updated successfully, but these errors were encountered: