-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
Cannot setup elixir 1.80.0 #3670
Comments
Thanks! Looking into this, hopefully the last fix before the new SDK work
goes in
…On Sat, 21 Dec 2024, 10:42 pm Nitin Gupta, ***@***.***> wrote:
*Describe the bug*
When setting up SDK, the IDE accepts 1.17.3 but fails when trying to add
elixir 1.18.0 as SDK due to changed directory structure in 1.18.0.
The error from IDE is:
A valid home for Elixir SDK has the following structure:
ELIXIR_SDK_HOME
* bin
** elixir
** elixirc
** iex
** mix
* lib
** eex
** elixir
** ex_unit
** iex
** logger
** mix
However, 1.18.0 as the following directory structure:
/opt/homebrew/Cellar/elixir/1.18.0
├── CHANGELOG.md
├── INSTALL_RECEIPT.json
├── LICENSE
├── NOTICE
├── README.md
├── bin
│ ├── elixir -> ../lib/elixir/bin/elixir
│ ├── elixirc -> ../lib/elixir/bin/elixirc
│ ├── iex -> ../lib/elixir/bin/iex
│ └── mix -> ../lib/elixir/bin/mix
├── lib
│ └── elixir
├── sbom.spdx.json
└── share
└── man
*To Reproduce*
Steps to reproduce the behavior:
In IntelliJ IDEA Ultimate:
Setup Module SDK, Goto Platform Settings -> SDKs, Click '+' and navigate
to /opt/homebrew/Cellar/elixir/1.18.0 and select this directory.
Once the folder is selected, click open and then you will see the above
message about the expected directory structure.
*Expected behavior*
The plugin should accept 1.18.0 as the Elixir SDK.
*Screenshots*
image.png (view on web)
<https://github.com/user-attachments/assets/4d5168c3-0cdb-4327-95b4-117dd142d540>
*Logs*
None
*Desktop:*
- OS: MacOS
- Version 15.2
*Erlang:*
- Installer homebrew
- Version 27.2
*Elixir:*
- Installer homebrew
- Version 1.18.0
*Plugin:*
- Version 20.0.1
*Additional context*
None
—
Reply to this email directly, view it on GitHub
<#3670>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABW627GQNJ4F2CZ2SCLP632GV44BAVCNFSM6AAAAABUAV4JEKVHI2DSMVQWIX3LMV43ASLTON2WKOZSG42TIMJQGEYTCNA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Interesting, this looks like it's just homebrew. Compiling from source, and using mise both works. |
One of these commits broke things: https://github.com/Homebrew/homebrew-core/commits/a1f2d157ef737b83b31e2888f1fbd94e811f1480/Formula/e/elixir.rb When doing a bisect:
I highly recommend pinning Elixir and other dependencies and not relying on brew. Log an issue with Homebrew, it'll probably impact others. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When setting up SDK, the IDE accepts 1.17.3 but fails when trying to add elixir 1.18.0 as SDK due to changed directory structure in 1.18.0.
The error from IDE is:
However, 1.18.0 as the following directory structure:
To Reproduce
Steps to reproduce the behavior:
In IntelliJ IDEA Ultimate:
Setup Module SDK, Goto Platform Settings -> SDKs, Click '+' and navigate to
/opt/homebrew/Cellar/elixir/1.18.0
and select this directory.Once the folder is selected, click open and then you will see the above message about the expected directory structure.
Expected behavior
The plugin should accept 1.18.0 as the Elixir SDK.
Screenshots
Logs
None
Desktop:
Erlang:
Elixir:
Plugin:
Additional context
None
The text was updated successfully, but these errors were encountered: