erlang ElixirLS编译,无OTP EEP48文档[重复]

2o7dmzc5  于 2022-12-25  发布在  Erlang
关注(0)|答案(1)|浏览(206)
    • 此问题在此处已有答案**:

how to fix vscode extension elixirls alert "OTP compiled without EEP48 documentation chunks"?(1个答案)
昨天关门了。
最近我有一个问题,我不能解决,这是关于 Elixir LS,当我运行语言服务器,它显示这个消息:

{"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Started ElixirLS v0.12.0","type":3}}

{"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"ElixirLS built with elixir \"1.14.2\" on OTP \"25\"","type":3}}

{"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Running on elixir \"1.14.2 (compiled with Erlang/OTP 25)\" on OTP \"25\"","type":3}}

{"jsonrpc":"2.0","method":"window/showMessage","params":{"message":"OTP compiled without EEP48 documentation chunks","type":2}}

{"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"OTP compiled without EEP48 documentation chunks. Language features for erlang modules will run in limited mode. Please reinstall or rebuild OTP with approperiate flags.","type":2}}

{"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Elixir sources not found (checking in /home/build/elixir). Code navigation to Elixir modules disabled.","type":3}}

ElixirLS不能正确编译,正如它所说,它编译没有EEP48文档。我按照指南安装ElixirLS,但我不能使它工作。Erlang和酏剂安装与asdf,我运行的是ElixirLS 1.14.2(编译与Erlang/OTP 25)在Arch Linux上。
多谢帮忙!

fdbelqdn

fdbelqdn1#

请参见asdf-erlang文档的获取Erlang文档部分,特别是:

export KERL_BUILD_DOCS="yes"

以及

**注意:**必须在执行asdf install erlang <version>之前设置环境变量才能生效。

相关问题