I’m getting the “INVALID PACKAGE DEPENDENCIES” error when trying to run elm-test
on a new project. How do I find out what packages are missing / fix the error?
Story so far:
- Created the project with
elm init
- Built and ran the app with parcel
- Iterated a bit, including installing some packages (still running via parcel - all OK)
- ran
elm-test init
which added a couple of entries toelm.json
(see below). - ran
elm-test
in the project root which produces the error.
elm.json contents as follows. I haven’t edited the file manually - all dependencies (direct & indirect) were added using elm install
. Test dependencies were added by elm-test
.
{
"type": "application",
"source-directories": [
"src"
],
"elm-version": "0.19.0",
"dependencies": {
"direct": {
"elm/browser": "1.0.1",
"elm/core": "1.0.2",
"elm/html": "1.0.0",
"elm/http": "2.0.0",
"elm/parser": "1.1.0"
},
"indirect": {
"elm/bytes": "1.0.8",
"elm/file": "1.0.5",
"elm/json": "1.1.3",
"elm/time": "1.0.0",
"elm/url": "1.0.0",
"elm/virtual-dom": "1.0.2"
}
},
"test-dependencies": {
"direct": {
"elm-explorations/test": "1.2.2"
},
"indirect": {
"elm/random": "1.0.0"
}
}
}
The package docs indicate it should ‘just work’ per steps I followed. The elm-test readme on github says " Copy all the dependencies from elm-package.json
into tests/elm-package.json
". However that seems like it’s pre- elm 19.
Thanks for any pointers.