Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to fix vscode extension elixirls alert "OTP compiled without EEP48 documentation chunks"?

This is the alert I am getting and I don't know how to fix it...enter image description here

I created new bug for it on their github (providing a bit more details in there), but I am not sure if it is bug, or I am doing sth wrong.

like image 730
Miroslav Makarov Avatar asked Aug 31 '25 16:08

Miroslav Makarov


2 Answers

As nobody posted the answer from that Github issue yet, here it is (when using asdf):

Setting the environment variable KERL_BUILD_DOCS=yes when installing Erlang should fix it.

Example: KERL_BUILD_DOCS=yes asdf install erlang 25.1.2

like image 156
xji Avatar answered Sep 03 '25 17:09

xji


I have an Erlang 25.3 / Elixir 1.14.4-otp-25 global installation on Ubuntu 22, which I installed with asdf. Here's a list of all asdf commands.

This is what I did:

  1. In VSCode, uninstall ElixirLS extension

  2. Close VSCode

  3. In terminal, you can check erlang versions installed with: asdf list erlang

  4. In terminal, remove erlang with: asdf uninstall erlang 25.3

  5. In terminal, check erlang is removed with: asdf list erlang

  6. In terminal, reinstall erlang with: KERL_BUILD_DOCS=yes asdf install erlang 25.3

  7. In terminal, set erlang as global with: asdf global erlang 25.3

  8. In terminal, you can check erlang versions installed with: asdf list erlang

  9. Open VSCode in an elixir project.

  10. In VSCode, install the ElixirLS extension.

Hope it helps!

like image 32
Carlos Avatar answered Sep 03 '25 18:09

Carlos