Troubleshooting Elixir Language Server Startup Crashes

143
clicks
Troubleshooting Elixir Language Server Startup Crashes

Source: reddit.com

Type: Discussion

A developer using the pseudonym 'elsbilf' is encountering problems with the Elixir Language Server (commonly known as 'elixir-ls'). They report that it crashes upon startup in both Neovim and Helix code editors, specifically when dealing with mix projects. The user is speculating whether this is a common issue among others who might be using the same toolchain consisting of elixir-ls 0.20, OTP 26, and Elixir 1.16.1. In an attempt to find a solution, another community member, arcanemachined, suggested deleting the '.elixir-ls' directory located in the project workspace and restarting the language server. Arcanemachined also recommended testing if the issue persists in different projects and noted that while newer versions of the tool are generally stable, problems can still arise, particularly when using complex macros.

© HashMerge 2024