Skip to content

Can't add Erlang SDK #3715

@kennedyjosh

Description

@kennedyjosh

Describe the bug
From Project Structure -> Platform Settings -> SDKS, I am unable to successfully select my Erlang install.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Project Structure -> Platform Settings -> SDKs
  2. Click on '+' and then 'Add Erlang SDK for Elixir SDK from disk...'
  3. In the file explorer, choose the path to your Erlang folder.
  4. Click open, and watch nothing happen. The SDKs list does not include the item you just tried to add.

Expected behavior
I expected the SDK to show as added on the Project Structure -> Platform Settings -> SDKs screen.

Screenshots
Image

Image

Logs
I'm not sure where to look for relevant logs regarding this. My idea.log file doesn't have any messages around the time when I'm trying to do this.

Desktop:

  • OS: macOS
  • Version: 15.7

Erlang:

  • Installer: Nix
  • Version: 27.3.4.2

Elixir:

  • Installer: Nix
  • Version: 1.18.4

Plugin:

  • Version: 21.0.0

Additional context
I'm not sure if this is relevant, but I use Nix + direnv to manage my dev environment. When I change into the root directory of my project, direnv does something to load all my packages into my current environment, such that which elixir points to a path only when I'm in my project directory. The path it points to always exists, however. I admittedly don't have a great understanding of how Nix or direnv works or if it is doing something unexpected here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions