-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Client NextLS: connection to server is erroring. Shutting down server #28
Comments
Are you using at least OTP 26.0.2? |
@mhanberg yes |
Do you happen to have a runtime.exs file that calls any dependency code or might raise for some reason? Similar to elixir-tools/next-ls#97 |
I'm using fresh |
Gotcha, I'll check with that same project when I get to a computer next. Could you share your exact elixir, OTP, and phx.new versions? |
Actually looks like your 1.15.2 and 26.0.2, so just need that phx.new version |
1.7.6 |
One last thing, you've run mix deps.get, right? |
@mhanberg yes |
@nrzull i've released a new version of Next LS, would you mind confirming if you're still seeing this problem? |
@mhanberg no changes unfortunately 😢 |
This error was happening to me when 'credo: Adapter' was set to 'tcp' |
Did you have the server running in tcp mode? Or are you implying that the original poster should make sure to set the mode to stdio? |
@nrzull can you confirm what settings you have for nextls? |
I changed to TCP withou really understanding what it did, and this error was shown. After changing back to stdio it stopped erroring. So OP might have it set as TCP too |
Well, I have stdio option by default for both nextls and credo so it's not my case |
@nrzull Do you mind trying again? The distribution mechanism has changed and it uses a prebuilt executable instead of an elixir script with Mix.install, so I'm wondering if that'll have any impact for you. |
😢 [Error - 6:02:18 PM] Client NextLS: connection to server is erroring. Shutting down server. |
what happens if you run |
Also, try turning Nextls > Trace: Server to "verbose" and see what that prints out |
|
|
Can you ensure that epmd is running by running |
@mhanberg I guess problem is solved. There is no error during start of NextLS client anymore after running |
Ubuntu 22.04
Erlang/OTP 26 [erts-14.0.2] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit:ns]
Elixir 1.15.2 (compiled with Erlang/OTP 26)
NextLS is enabled in settings
The text was updated successfully, but these errors were encountered: