Hi,
I have also run into this problem before - here is how you can diagnose it.
elm-test
creates another elm.json
to build and run the test cases. This can be found under:
elm-stuff/generated-code/elm-explorations/test/elm.json
Paste the contents of that file into this:
https://www.markuslaire.com/github/elm-dependencies-analyzer/
and it will tell you which dependencies are not compatible and why. In your case it says:
Selected versions have dependency conflicts:
* elm/json 1.0.0
* 1.1.0 <= v < 2.0.0 needed by elm/http 2.0.0
Somehow elm-test
has replaced your indirect elm/json/1.1.3
with a direct elm/json/1.0.0
.
To fix it I ran:
> elm install elm/json
which simply moved that dependency from indirect into direct.
Worth raising an issue against elm-test
for this one (I did it for you): https://github.com/elm-explorations/test/issues/103