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

Elixir 1.17 and OTP 27 #838

Open
nicemaker opened this issue Nov 19, 2024 · 2 comments
Open

Elixir 1.17 and OTP 27 #838

nicemaker opened this issue Nov 19, 2024 · 2 comments

Comments

@nicemaker
Copy link

According to docs elixir 1.17 and otp 27 should be supported now.
Thanks for the work on that, very much appreciated.

I am facing a problem though. Maybe I am just missing something stupid.

I upgrade to the latest elixir version including OTP 27.
I completely removed my lexical repository clone just to be sure I have the most up to date version 1.7.1 and all bins are cleared.
After mix package I restarted my emacs with eglot but got an error when opening an elixir file
error in process sentinel: [eglot] -1: Server died

I tried to start the lexical server manually by

~/lexical/_build/dev/package/lexical/bin/start_lexical.sh 

and got

Detected Elixir through asdf: /home/bjorn/.asdf/installs/elixir/1.17.0-otp-27/bin/elixir
FATAL: Lexical is not compatible with Elixir 1.17.0

Lexical is compatible with the following versions of Elixir:

 >= 1.13.0
 >= 1.14.0
 >= 1.15.3


FATAL: Lexical is not compatible with Erlang/OTP 27.1.2

Lexical is compatible with the following versions of Erlang/OTP:

 >= 24.3.4
 >= 25.0.0
 >= 26.0.2

I first tried elixir 1.17.3, then went down to 1.17.0 and the also downed OTP to 26.
OTP 26 is accepted but I still get the error for elixir.

@nicemaker
Copy link
Author

I also just read that Lexical, Next LS and Elixir LS is in the process of merging. Thats great I believe. So maybe you don't have time to focus on that topic mentioned above.

@scohen
Copy link
Collaborator

scohen commented Nov 20, 2024

Do you have the latest from main? Lexical built from source has supported 1.17 for a while. I've got some performance stuff queued up after which I'll do a release.

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

No branches or pull requests

2 participants