-
Notifications
You must be signed in to change notification settings - Fork 57
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
LS crashes #270
Comments
@hsek thanks for the report! Also, how was the build started? Within the editor or from the command line? |
I had Basically I was following along the docs and when I hit save, that's when the output log popped up with the stack trace. Edit: I also get a similar error when opening this. Maybe it's a NixOS thing? Other language servers like the Elixir LS, or even HLS seem to work just fine though. |
@hsek it could be a NixOS thing, though it's unclear why parsing fails, if the file |
So the error is here: // part of the actual diagnostics message
parsedDiagnostics[parsedDiagnostics.length - 1].content.push( which I guess is only possible if |
Can't see how |
@hsek I think we're pretty close to the actual issue, but we need the correct version of |
Sorry for the late response, and thanks for taking a look into this. I tried redoing it since it might have been because I had succeeding saves, which prolly triggered something in the LS. I'm not too familiar with the process. I closed the editor, re-ran it, opened 2021-06-09.17-17-53.mp4
I'm not sure how to replicate the previous one tbh. Initially thought I just had to scroll up but that's the highest it can go. |
This indicates an error in running the underlying executable.
|
I double checked if the executable exists, and it does.
|
OK the most likely issue is NixOs not happy with the prebuilt linux executable. |
Gotcha, I'll try it out with Pop OS and I'll report my findings. Thank you for your time. |
Hi folks! Have the same problem but on Mac OS Language server:
.compiler.log
|
I added a NixOS package in this PR NixOS/nixpkgs#140433 |
same error happening to me when starting a build from the extension:
in
|
same error happening to me.
|
Not sure if this is related with #77, but it crashes in the same manner. So I just opened a new issue.
Steps to reproduce:
lib/bs/.compiler.log
Stack trace
The text was updated successfully, but these errors were encountered: