Skip to content
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

Can't set up SDK #3659

Open
quetsalkoatl opened this issue Nov 3, 2024 · 3 comments
Open

Can't set up SDK #3659

quetsalkoatl opened this issue Nov 3, 2024 · 3 comments

Comments

@quetsalkoatl
Copy link

Describe the bug
I'm new to Elixir and Erlang and tried to set up the SDK in the IntelliJ plugin but wasn't able to do so. No matter what I try I get the error "Internal Erlang SDK is not in Elixir SDK. Set it before picking this Elixir SDK". And I'm pretty sure I set up the Erlang SDK before picking the Elixir SDK.

I'm on Windows 10 and installed both Erlang and Elixir through the Windows installer in D:\Programs...

I'm probably doing something wrong here but I couldn't find another way to get support.

To Reproduce
Steps to reproduce the behavior:

  1. Install Erlang and Elixir with Windows installer
  2. Setup new Elixir project in IntelliJ
  3. Setup new Erlang and Elixir SDK as asked by pop-ups
  4. Choose SDK
  5. Click Create

Expected behavior
I should be able to create an Elixir project after setting up and choosing Elixir SDK.

Screenshots
image
image
image
image

Logs
none

Desktop:

  • OS: Windows 10
  • Version: 10.0.19045 Build 19045

Erlang:

  • Installer: Windows 64-bit installer
  • Version: 27.1.2

Elixir:

  • Installer: Windows installer
  • Version: 1.17.3 (OTP 27)

Plugin:

  • Version: 19.0.1
@quetsalkoatl
Copy link
Author

quetsalkoatl commented Nov 3, 2024

I was able to get it working by setting up the Elixir SDK through the "Project Structure" dialogue on another (non-Elixir) project. Then I could choose the SDK in the "New Project" dialogue without the error. But I still think this is a bug.

I also figured out that "elixir-tut" is not a valid app name so I changed it to "elixir_tut". Is it possible that that caused the issue and it just displayed the wrong error?

@alanbem
Copy link

alanbem commented Nov 16, 2024

I had the same issue on MacOS with libs installed through brew. Also new to Elixir and unfortunately it halted my progress, with using IntelliJ, as didn’t know how to work around it.

@joshuataylor
Copy link
Collaborator

joshuataylor commented Nov 16, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants