elm / error-message-catalog

A catalog of broken Elm programs / data to improve error messages
BSD 3-Clause "New" or "Revised" License
173 stars 17 forks source link

Which dependencies in elm.json are not compatible? #263

Open francisdb opened 6 years ago

francisdb commented 6 years ago

I used elm-upgrade and ended up with this: (I did get a warning about missing 0.19 versions at some point)

{
    ...
    "dependencies": {
        "direct": {
           ...
            "elm-community/random-extra": "2.0.0"
           ...

When doing a elm make I got the below message and had to add them one by one again to find the one that is not compatible

> elm make
-- INVALID PACKAGE DEPENDENCIES --------------------------------------- elm.json

The dependencies in your elm.json are not compatible.

Did you change them by hand? Try to change it back! It is much better to add
dependencies with elm install or the dependency management tool in elm reactor.

Please ask for help on the Elm slack <http://elmlang.herokuapp.com/> if you try
those paths and still cannot figure it out!

I guess there is a way to come up with the list of incompatible dependencies?

jerith666 commented 6 years ago

Also, I don't see any "dependency management tool" in elm reactor ... ?

andys8 commented 5 years ago

As you wrote, for everybody searching for help, right now you can use elm-upgrade and look carrefuly at the warnings (like WARNING: mgold/elm-date-format has not been upgraded to 0.19 yet!) or https://kraklin.github.io/elm-readiness/ can help.