Closed pedrocaseiro closed 10 months ago
Please install a recent version. Current is 0.18.1. Please also make sure that you run elixir built for your OTP version. Support for elixir 1.15 landed in v0.15. your log indicates you use elixir 1.16 contrary to what you wrote. Support for 1.16 landed in v0.18
@lukaszsamson I see why this happened, I installed the latest version of VSCode but was getting a warning that the download was corrupted but I didn't notice it. Re-downloaded the latest version of VSCode and elixirls asked me to update from 0.13 to 0.18 (which I couldn't before). Thanks for your help!
Environment
Elixir 1.15.4 (compiled with Erlang/OTP 24)
A few weeks ago every time I opened VSCode I started getting the following crash:
[Warn - 9:52:42 AM] ** (MatchError) no match of right hand side value: {:error, :already_present} lib/language_server/cli.ex:20: ElixirLS.LanguageServer.CLI.main/0 (stdlib 5.2) erl_eval.erl:746: :erl_eval.do_apply/7 (elixir 1.16.0) lib/code.ex:568: Code.validated_eval_string/3 [Error - 9:52:42 AM] The ElixirLS - web server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information. [Error - 9:52:42 AM] Server initialization failed. Message: Pending response rejected since connection got disposed Code: -32097 [Error - 9:52:42 AM] ElixirLS - web client: couldn't create connection to server. Message: Pending response rejected since connection got disposed Code: -32097 [Error - 9:52:42 AM] Restarting server failed Message: Pending response rejected since connection got disposed Code: -32097
Any ideas what it could be?