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

Problem when running elm-install for the first time without having access to the repo. #58

Open
Flecks1 opened this issue Apr 6, 2018 · 0 comments

Comments

@Flecks1
Copy link

Flecks1 commented Apr 6, 2018

So I had to setup a new PC to work with my existing elm projects, and I had forgotten to copy my .ssh key for accessing my repo before running elm-install, resulting in elm-install failing when fetching packages from my private repo.

The issue is that, once this happens, elm-install will then always fail when trying to fetch that specific package, because it tries to access the '.git' folder in the package's path but it does not exist.

The error it displays goes something like "path does not exist", and the path it tries to fetch, when we display it using --trace, is "C:/Users/myuser/.elm-install/my.repo.com/namespace/repo.git/.git".

The only way to fix this right now is to delete the package's folder, and re-run the command. Maybe the package's directory should not be created if it cannot be accessed? Or maybe the case where the .git folder is not existing should be handled as if the package has never been fetched. I feel like this error is a bit counter-intuitive.

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

1 participant