WhatsApp / erlang-language-platform

Erlang Language Platform. LSP server and CLI.
https://whatsapp.github.io/erlang-language-platform/
Apache License 2.0
259 stars 20 forks source link

The first line of my code always has this error, why is that, and I am new to LSP-related and Erlang? #60

Open imLaoYang opened 1 month ago

imLaoYang commented 1 month ago

Snipaste_2024-10-30_00-34-43

robertoaloi commented 1 month ago

Hi @imLaoYang, by looking at the stacktrace I suspect you are using an outdated version of Erlang/OTP, which has no erl_features:configurable/0 function, which was introduced in OTP 25.1. But I believe we should show a more appropriate message on startup, instead. Thanks for reporting.