elm / compiler

Compiler for Elm, a functional language for reliable webapps.
https://elm-lang.org/
BSD 3-Clause "New" or "Revised" License
7.48k stars 659 forks source link

murmur3 package install #2266

Closed dotnetspec closed 2 years ago

dotnetspec commented 2 years ago

Quick Summary: ??? I am unable to compile as I am having problems with murmur3 package:

elm install robinheghan/murmur3
Here is my plan:

  Add:
    Skinney/murmur3        2.0.8
    robinheghan/murmur3    1.0.0

Would you like me to update your elm.json accordingly? [Y/n]: 
-- PROBLEM DOWNLOADING PACKAGE -------------------------------------------------

I was trying to download the source code for Skinney/murmur3 2.0.8, so I tried
to fetch:

    https://github.com/Skinney/murmur3/zipball/2.0.8/

But it came back as 404 Not Found

SSCCE

Additional Details

I have returned to the project after more that 18 months. What should I do to fix this error?

Thanks ...

github-actions[bot] commented 2 years ago

Thanks for reporting this! To set expectations:

Finally, please be patient with the core team. They are trying their best with limited resources.

jfmengels commented 2 years ago

Hi @dotnetspec

I might be missing some information, but the way I understand it is that you have the Skinney/murmur3 package in your elm.json, but that one does not exist anymore. You should remove it from your elm.json before adding something new.

I believe you can just straight up remove the line for Skinney/murmur3. If that doesn't work, you could try using the elm-json tool to uninstall the package.

Once that it done, I believe that adding robinheghan/murmur3 should work.

dotnetspec commented 2 years ago

Hi @jfmengels ,

I ran: elm-json upgrade --unsafe

and it got me past the murmur3 problem. It was probably necessary to do major version upgrades as I haven't been working on the project for more than a year.

However, I then got the same issue but with

jasonliang512/elm-heroicons 1.2.0 -> 2.4.0

However,

elm-json uninstall jasonliang512/elm-heroicons

fixed that and elm now compiles!

Thanks again for your help ...

dotnetspec commented 2 years ago

Fixed! As mentioned above.