-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Is there a minimum supported elixir version? #234
Comments
1.13 should work I think. Which editor are you using? In VSCode, there is an output panel that will have a drop down selector to choose nextls. Can you let me know if there are any errors in there with the bigger project? If you use neovim, I have a plugin to make a similar panel https://github.com/mhanberg/output-panel.nvim |
Last line from the output:
I see |
Next LS is packaged using a library called Burrito, so it bundles its own Elixir/OTP. It still starts an isolated runtime for your project using the elixir it finds in your path.
Is this a file in your project? or is this from a git dependency? |
Yeah - I think this is referencing a file that we use that uses the Oban library. I just tracked it down and I think this is the problem line:
|
The weird thing is why that file was not found. I will push a fix to make this not crash tho and can figure out why later. It should gracefully degrade rather than crash |
Oh, that use macro might be injecting an attribute. |
I believe it invokes this from Oban.Worker |
@rossvz i published 0.12.6, can you update and try again? to update, you should just be able to restart and it wil automatically update, and hten you can restart again. or you can uninstall the existing one from the command palette "Uninstall Next LS" and then restart and it will download it again for you |
Yeah looks fixed! Thanks! |
Excellent! Thanks for being an early adopter and reporting bugs 💯 |
We have a two different elixir projects - one that is using 1.14 and OTP25, and another that's stuck on 1.13 with OTP25.
The 1.14 project is smaller/simpler (~5k loc for Elixir) and seems to work with next-ls wonderfully!
The 1.13 project is significantly larger (~100k loc of Elixir) and has some weirdness with private git dependencies. It seems to crash or struggle a bit. Syntax highlighting works, but not getting any formatting or error reporting
I wanted to first check if the Elixir version would be a factor here as I continue to debug. Possibly something about my setup and private git deps could be the problem?
The text was updated successfully, but these errors were encountered: