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

$ELM_HOME is ignored when attaching elm.json files #790

Open
Arrow7000 opened this issue Jul 25, 2022 · 1 comment
Open

$ELM_HOME is ignored when attaching elm.json files #790

Arrow7000 opened this issue Jul 25, 2022 · 1 comment

Comments

@Arrow7000
Copy link

Arrow7000 commented Jul 25, 2022

I have $ELM_HOME set to a directory inside my repo

$ echo $ELM_HOME
/Users/aron/projects/repo-name/elm-home

but when I open and I try to attach my project's elm.json it gives me a popup with an error that it can't find one of my project's dependencies:

# Failed to attach Elm project

org.elm.workspace.ProjectLoadException: Manifest file not found: /Users/aron/.elm/0.19.1/packages/Gizra/elm-debouncer/2.0.0/elm.json

but it shouldn't be looking in that directory in the first place because that's not what my $ELM_HOME is set to. It looks like the plugin just ignores $ELM_HOME when attaching elm.json files.

I tried invalidating the cache and restarting Webstorm but that doesn't fix it.

Additional info

WebStorm 2022.1.3, build #WS-221.5921.27.
Plugin version 4.4.1

@paulwwisl
Copy link

I bet better wording should be that
this plugin is not aware of $ELM_HOME

That is not surprise as it is not documented, see elm/compiler#1846

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

2 participants