-
Notifications
You must be signed in to change notification settings - Fork 41
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
OSX crash on startup #4
Comments
This is a bit tricky to debug without being able to reproduce it. ElixirLS is being packaged as an escript, but unlike a typical Elixir escript it doesn't embed Elixir. Instead, there's a shell script that tries to guess where your system Elixir installation is and sets Can you help me out by cloning the repository and running If that fails with the same error, would you change the last line of Also, which version of Elixir are you using? Appreciate the bug report and any help figuring it out. Figuring out how to package ElixirLS has been a real pain. |
I'm using asdf for managing elixir versions https://github.com/asdf-vm/asdf. I should have a time in the evening and try to pinpoint what's going on. |
I just looked into how I think that as a fallback mechanism, the launcher script might need to run the command |
As a stopgap, you can set your |
@sztosz I just updated the launcher script and published v0.0.6. Can you update and let me know if this fixed it? Thanks! |
After updating plugin in code
No change, same as before.
And I get this what's below.
It repeats itself until
And it stops here. One thing that got me curious is that you got path like this: Also Building plugin gives me this
But running it obviously fails due to the my elixir through asdf not working with this
|
I had similar issues on my ubuntu linux box where I do use Since Then there are a lot of Still, I think there should be a way to specify exact elixir executable and folders to use in the users/workspace config. |
I installed through asdf elixir from sources Though I get auto-completion, I don't think I know how to turn on showing documentation on hover or go-to definition :/ Anyway, no more errors 👍 /cc @NobbZ |
Haven't checked for docs as well. Wasn't aware of them should be visible. Won't be back at my ubuntu box before monday and my funtoo box at home just worked ever since ;) (there I can use systems elixir) |
I just published v0.2.4 which should launch more reliably. Please give it a try and let me know if this is still a problem. |
I don't know if my problem is related to this, but now I got these errors with invalid path (
|
Ah. Those errors are annoying, but they're happening in the I think the original issue of launching the server is fixed, and the process of launching the server has changed significantly since this issue was created, so if you still have problems with launching it, please file a new issue. Thanks! |
Right after opening visual code from comandline from elixir, phoenix project path by entering
code .
The text was updated successfully, but these errors were encountered: