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

Unable to install this with elm-package due to username mismatch. #3

Open
rtavenner opened this issue Dec 20, 2017 · 2 comments
Open

Comments

@rtavenner
Copy link

I cannot install this module. This seems to be due to a username mismatch.

When I attempt elm-package install wraith1995/complex, I get this error:
Error: Could not find any packages named wraith1995/complex.

Here are some packages that have similar names:

    teocollin1995/complex
    Bractlet/elm-plot
    prikhi/decimal
    Chadtech/order

Maybe you want one of those?

This is because elm-package thinks this library should be teocollin1995/complex.

When I attempt elm-package install teocollin1995/complex, I get this error:

Error: Problem when downloading the teocollin1995/complex 1.0.1 code.

This is because when it downloads the package, it expects to get a folder whose name starts with teocollin1995-complex, but it instead starts with wraith1995-complex. At this point, it just aborts the installation.

There is a workaround:

  1. Run elm-package install teocollin1995/complex. This will fail.
  2. Go to elm-stuff and rename wraith1995-complex-<random chars> to teocollin1995-complex-<random chars>.
  3. Rerun elm-package install teocollin1995/complex.
@wraith1995
Copy link
Owner

Thanks for the report.

I will look into fixing this sometime in the next few days. I suspect that I might just have to undo a name change and I'm okay with that if it comes to that, but I'm going to put some effort into avoiding it if possible.

@harrysarson
Copy link

Was a solution found to this issue?

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