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

Lexical fails to start with Elixir 1.16.0-rc (installed through asdf) in VScodium #623

Closed
guillermo-st opened this issue Feb 24, 2024 · 4 comments · Fixed by #624
Closed

Comments

@guillermo-st
Copy link

Here is the error log:

Starting Lexical in directory /home/guillermo/Code/exercism/elixir/boutique-suggestions
Starting lexical release in "/home/guillermo/.config/VSCodium/User/globalStorage/lexical-lsp.lexical/lexical_install/lexical/bin/start_lexical.sh"
Detected Elixir through asdf: /home/guillermo/.asdf/installs/elixir/1.16.0-rc.1-otp-26/bin/elixir
FATAL: Lexical is not compatible with Elixir 1.16.0-rc

Lexical is compatible with the following versions of Elixir:

  >= 1.13.0
  >= 1.14.0
  >= 1.15.3
  >= 1.16.0

[Error - 7:50:58 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 7:50:58 PM] Connection to server got closed. Server will restart.
true
[Error - 7:50:58 PM] Lexical client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 

Then it proceeds to try again a few times until it gives up. What am I doing wrong? Lexical is available in vscodium's repository so I figured it would be as compatible as with vscode. Is is because of the -rc suffix on my Elixir version? It was the latest one at the moment of installation in asdf.

@scottming
Copy link
Collaborator

Why don't you just use 1.16.0 or 1.16.1?

@guillermo-st
Copy link
Author

guillermo-st commented Feb 24, 2024

Why don't you just use 1.16.0 or 1.16.1?

I'm new to elixir and just intalled whatever the last available version was at the moment int asdf. Should I switch to the plain 1.16.1 version, or 1.16.1-otp-26? I know I have the OTP26 erlang version installed

EDIT: just switched to 1.15.7-otp-26 and it seems to be working fine. I missed the installation guide stating that 1.16 wasn't supported, my bad.

I would also like to try lexical with DOOM emacs. Should I just follow the vanilla emacs installation method?

@scottming
Copy link
Collaborator

scottming commented Feb 25, 2024

EDIT: just switched to 1.15.7-otp-26 and it seems to be working fine. I missed the installation guide stating that 1.16 wasn't supported, my bad.

Thanks for your reporting, but 1.16.1-otp-26 is supported, I'll update the doc.

@scottming
Copy link
Collaborator

I'm not familiar with Emacs configuration, but you can try it out. If there are any issues, you can continue to report them here, and other maintainers who use Emacs will respond.

@guillermo-st

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

Successfully merging a pull request may close this issue.

2 participants