Skip to content
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

The ElixirLS - elixir_learn server crashed 5 times in the last 3 minutes. The server will not be restarted. #271

Closed
topazus opened this issue Sep 24, 2022 · 2 comments

Comments

@topazus
Copy link

topazus commented Sep 24, 2022

Is this the right repo?

I installed the elixir-ls extension in vscode. open a new example project, got error.
The ElixirLS - elixir_learn server crashed 5 times in the last 3 minutes. The server will not be restarted.

image

Environment

Most of this can be filled out by running the VSCode command (by default bound to Ctrl+Shift+P) "ElixirLS: Copy Debug Info"

  • Elixir & Erlang versions (elixir --version):
$ elixir --version
Erlang/OTP 25 [erts-13.0.4] [source] [64-bit] [smp:20:20] [ds:20:20:10] [async-threads:1] [jit:ns]

Elixir 1.14.0 (compiled with Erlang/OTP 25)
  • VSCode ElixirLS version: v0.11.0
    image

  • Operating System Version:
    Fedora

Troubleshooting

Restart your editor (which will restart ElixirLS) sometimes fixes issues
Stop your editor, remove the entire .elixir_ls directory, then restart your editor
the above steps seem unuseful.

@lukaszsamson
Copy link
Collaborator

Please post logs from vscode output panel

@topazus
Copy link
Author

topazus commented Sep 24, 2022

Please post logs from vscode output panel

After seeing the logs of the vscode output panel about elixir_ls extension, it says a incomplete erlang installation. At the time of writing, I only install elixir by sudo dnf install elixir in my Fedora machine, it may missing some dependencies.
related links:
elixir-lsp/elixir-ls#231 (comment)
elixir-lang/elixir-lang.github.com#1499
sudo dnf install erlang get a fully complete erlang installation, and the elixir_ls extension works. Many thanks for your prompt tips and works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants