elm-community / list-extra

Convenience functions for working with List.
http://package.elm-lang.org/packages/elm-community/list-extra/latest
MIT License
135 stars 58 forks source link

I downloaded the source code for elm-community/list-extra But it looks like the hash of the archive has changed since publication #161

Closed ghost closed 2 years ago

ghost commented 2 years ago
-- CONFIGURATION COMPILATION ERROR ---------------------------------------------
Errors occurred while compiling your configuration for elm-review. I need your
configuration to compile in order to know how to analyze your files. Hopefully
the compiler error below will help you figure out how to fix it.
-- CORRUPT PACKAGE DATA --------------------------------------------------------
I downloaded the source code for elm-community/list-extra 8.2.4 from:
    https://github.com/elm-community/list-extra/zipball/8.2.4/
But it looks like the hash of the archive has changed since publication:
  Expected: d6f5cd0b9b072d11885ce0a57a1840b94c774edf
    Actual: 9176d4b9987baa47a94b1dec8419bdd23e74a7af
This usually means that the package author moved the version tag, so report it
to them and see if that is the issue. Folks on Elm slack can probably help as
well.

any idea?

Chadtech commented 2 years ago

Yes. I know about this. It is not a problem specific to List.Extra. Github changed the way they calculate hashes, which has broken things for Elm. In Elm slack people have shared their work arounds, and I believe Github has reverted this change since is caused this problem. The problem should go away on its own at some point as Github fixes this.

ghost commented 2 years ago

I use Gitlab, now it works!

Chadtech commented 2 years ago

Glad things are working for you now!

You may be using Gitlab but Elm packages are hosted on Github. So whenever you install your packages and dependencies into your project you are fetching them from Github.