You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-29Lines changed: 2 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -369,36 +369,9 @@ If you get an error like the following immediately on startup:
369
369
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
370
370
```
371
371
372
-
and you installed Elixir and Erlang from the Erlang Solutions repository, you may not have a full installation of Erlang. This can be solved with `sudo apt-get install esl-erlang`. (This was originally reported in [#208](https://github.com/elixir-lsp/elixir-ls/issues/208).)
372
+
and you installed Elixir and Erlang from the Erlang Solutions repository, you may not have a full installation of Erlang. This can be solved with `sudo apt-get install esl-erlang`. (This was originally reported in [#208](https://github.com/elixir-lsp/elixir-ls/issues/208)).
373
373
374
-
On Fedora Linux, if you only install the Elixir package you will not have a full Erlang installation. This can be fixed by running `sudo dnf install erlang` (This was reported in [#231](https://github.com/elixir-lsp/elixir-ls/issues/231).)
375
-
376
-
If you are seeing the message "Invalid beam file or no abstract code", you need to make sure that your Mix project is set to use the `elixirc` compiler option `--debug-info`, which can be done by adding the following line to your `mix.exs``project` section:
377
-
378
-
```elixir
379
-
elixirc_options: [debug_info:Mix.env() ==:dev]
380
-
```
381
-
382
-
For example:
383
-
384
-
```elixir
385
-
defmoduleMyApp.MixProjectdo
386
-
useMix.Project
387
-
388
-
defprojectdo
389
-
[
390
-
app::my_app,
391
-
version:"0.1.0",
392
-
elixir:"~> 1.11",
393
-
elixirc_paths:elixirc_paths(Mix.env()),
394
-
elixirc_options: [debug_info:Mix.env() ==:dev],
395
-
...
396
-
```
397
-
398
-
If you are using Emacs with `lsp-mode`, there's a possibility that you have set the
399
-
wrong directory as the project root (especially if that directory does not have
400
-
a `mix.exs` file). To fix that, you should remove the project and re-initialize:
On Fedora Linux, if you only install the Elixir package you will not have a full Erlang installation. This can be fixed by running `sudo dnf install erlang` (This was reported in [#231](https://github.com/elixir-lsp/elixir-ls/issues/231)).
0 commit comments