error-message-catalog
error-message-catalog copied to clipboard
Which dependencies in elm.json are not compatible?
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?
Also, I don't see any "dependency management tool" in elm reactor ... ?
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.