-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ecce363
commit caf6e8f
Showing
2 changed files
with
25 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,34 @@ | ||
# Incomplete OTP installations | ||
|
||
Incomplete installations is a frequent cause of ElixirLS failures. Generally | ||
this is resolved by: | ||
* Installing elixir and erlang with ASDF https://github.com/asdf-vm/asdf | ||
|
||
* Installing elixir and erlang via [ASDF](https://github.com/asdf-vm/asdf) or [RTX](https://github.com/jdx/rtx) | ||
(recommended) | ||
* Installing a full version of Erlang via the package manager | ||
* Installing a full version of Erlang/OTP via the package manager | ||
|
||
## dialyzer missing | ||
|
||
On Ubuntu this is caused by the required `erlang-dialyzer` package not being | ||
installed. For Ubuntu this can be fixed by running `sudo apt-get install erlang | ||
erlang-dialyzer` or installing Elixir and Erlang via ASDF | ||
https://github.com/asdf-vm/asdf | ||
On *Ubuntu* this is caused by the required `erlang-dialyzer` package not being | ||
installed. For Ubuntu this can be fixed by running | ||
|
||
```bash | ||
sudo apt-get install erlang erlang-dialyzer | ||
``` | ||
|
||
or installing Elixir and Erlang via [ASDF](https://github.com/asdf-vm/asdf) or [RTX](https://github.com/jdx/rtx) | ||
|
||
Relevant issue: https://github.com/elixir-lsp/vscode-elixir-ls/issues/134 | ||
|
||
## edoc missing | ||
|
||
On fedora this is caused by the required `erlang-edoc `package not being | ||
installed. For fedora this can be fixed by running `sudo dnf install erlang | ||
erlang-edoc` or installing Elixir and Erlang via ASDF | ||
https://github.com/asdf-vm/asdf | ||
On *Fedora* this is caused by the required `erlang-edoc` package not being | ||
installed. For fedora this can be fixed by running | ||
|
||
```bash | ||
sudo dnf install erlang erlang-edoc | ||
``` | ||
|
||
or installing Elixir and Erlang via [ASDF](https://github.com/asdf-vm/asdf) or [RTX](https://github.com/jdx/rtx) | ||
|
||
Relevant issue: https://github.com/elixir-lsp/elixir-ls/issues/431 |