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

"OTP compiled without EEP48 documentation chunks" #284

Closed
MMAcode opened this issue Nov 24, 2022 · 4 comments
Closed

"OTP compiled without EEP48 documentation chunks" #284

MMAcode opened this issue Nov 24, 2022 · 4 comments

Comments

@MMAcode
Copy link

MMAcode commented Nov 24, 2022

Hi team, I am see this alert across my projects.

image

Before, it was not even compiling/crushing (or sth like that, if I remember correctly, saying that no erlang version specified in .tool_versions so I did that manually as advised by logs on screen. Due to that elixirls starts, but now this issue occured.

image

Environment

  • Elixir & Erlang versions (elixir --version): Erlang/OTP 25 [erts-13.1.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit] [dtrace]
    Elixir 1.14.0 (compiled with Erlang/OTP 25)
  • VSCode ElixirLS version: 0.12.0
  • Operating System Version: darwin 21.6.0 (Mac M1)
    Most of this can be filled out by running the VSCode command (by default bound to Ctrl+Shift+P) "ElixirLS: Copy Debug Info"

Troubleshooting

  • [ tried] Restart your editor (which will restart ElixirLS) sometimes fixes issues
  • [ tried] Stop your editor, remove the entire .elixir_ls directory, then restart your editor
@DuldR
Copy link

DuldR commented Nov 27, 2022

I don't think this is an issue with ElixirLS, but with setting up Erlang itself. This is how I fixed it on Ubuntu 22.04. I assume you're using asdf with a .tool-versions file.

  1. Remove Erlang by asdf plugin remove erlang
  2. Follow the instructions at https://github.com/asdf-vm/asdf-erlang#getting-erlang-documentation and set export KERL_BUILD_DOCS=yes for the erlang documentation.
  3. Run asdf install
  4. You should see the following from asdf current
    image
  5. Set the global usage of erlang - asdf global erlang latest
  6. Restart the language server

@lukaszsamson
Copy link
Collaborator

@MMAcode please use elixir forum for support on how to install OTP with doc chunks. Otherwise you can ignore this warning but OTP related functionality (e.g. hover documentation) will not work.

@sabit990928
Copy link

Thanks for sharing @DuldR. Worked for me, at least working for now 😁

@lcmen
Copy link

lcmen commented Dec 6, 2022

Thank you @DuldR 🥂 , works for me on elixirls and neovim.

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

No branches or pull requests

5 participants