-
Notifications
You must be signed in to change notification settings - Fork 196
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
After Upgrading to Fedora 32 on multiple machines, ElixirLS won't start #231
Comments
How did you install elixir and erlang? This looks like errors that people have seen with a partial installation of erlang. |
On Fedora 31 I used |
The following packages get installed with that command erlang-mnesia-22.3.2-1.fc32.x86_64
erlang-runtime_tools-22.3.2-1.fc32.x86_64
erlang-parsetools-22.3.2-1.fc32.x86_64
erlang-asn1-22.3.2-1.fc32.x86_64
erlang-public_key-22.3.2-1.fc32.x86_64
erlang-inets-22.3.2-1.fc32.x86_64
erlang-ssl-22.3.2-1.fc32.x86_64
erlang-tools-22.3.2-1.fc32.x86_64
erlang-sasl-22.3.2-1.fc32.x86_64
elixir-1.9.2-2.fc32.x86_64 |
Are there any other erlang packages available? |
Especially any that mention dialyzer. |
I have the dialyzer package installed as well: |
Uninstalling the fedora packaged elixir and using kiex to install elixir 1.10.3, fixed the issue. Not sure if we want to leave this issue open? It did not work with elixir 1.9.2 on fedora 32. |
If you do |
Added a troubleshooting note to the README. Thanks for the report! |
There was a person in the Elixir slack today that had trouble trying to use a dependency that depended on xmerl. The solution for him was `sudo dnf install erlang-xmerl` (although `sudo dnf install erlang` would have been better). I've also seen Fedora users having trouble running ElixirLS if they don't have a full installation of erlang because they don't have the `erlang-dialyzer` package: elixir-lsp/elixir-ls#231 Looking at the latest version of the elixir package for erlang we can see that the "Requires" list is much smaller than the "BuildRequires" list: https://src.fedoraproject.org/rpms/elixir/blob/1118b2d2b1e973ba8188f7e479db174850697b2f/f/elixir.spec Therefore, for typical Elixir development I believe it is important for Fedora users to have a full installation of Erlang.
There was a person in the Elixir slack today that had trouble trying to use a dependency that depended on xmerl. The solution for him was `sudo dnf install erlang-xmerl` (although `sudo dnf install erlang` would have been better). I've also seen Fedora users having trouble running ElixirLS if they don't have a full installation of erlang because they don't have the `erlang-dialyzer` package: elixir-lsp/elixir-ls#231 Looking at the latest version of the elixir package for erlang we can see that the "Requires" list is much smaller than the "BuildRequires" list: https://src.fedoraproject.org/rpms/elixir/blob/1118b2d2b1e973ba8188f7e479db174850697b2f/f/elixir.spec Therefore, for typical Elixir development I believe it is important for Fedora users to have a full installation of Erlang.
Environment
Troubleshooting
.elixir_ls
directory, then restart your editorThe .elixir_ls directory never gets created, I assume because the ElixirLS application never starts.
Logs
Creating a new project with
mix new empty
has the same issue.Output:
Developer console error:
The ElixirLS server crashed 5 times in the last 3 minutes. The server will not be restarted.
The text was updated successfully, but these errors were encountered: