elm-package
elm-package copied to clipboard
Incorrect error message when using incorrect version number
Apologies if this is not the right repo for this.
To Reproduce
- Put this in your elm-package:
{
"version": "1.0.0",
"summary": "helpful summary of your project, less than 80 characters",
"repository": "https://github.com/user/project.git",
"license": "",
"source-directories": [
"."
],
"exposed-modules": [],
"dependencies": {
"NoRedInk/elm-decode-pipeline": "3.0.0 <= v < 4.0.0",
"elm-community/list-extra": "6.0.0 <= v < 7.0.0",
"elm-lang/core": "5.1.1 <= v < 6.0.0",
"elm-lang/html": "2.0.0 <= v < 3.0.0",
"elm-lang/http": "3.0.0 <= v < 4.0.0",
"elm-lang/navigation": "2.1.0 <= v < 3.0.0",
"evancz/url-parser": "2.0.1 <= v < 3.0.0"
},
"elm-version": "0.18.0 <= v < 0.19.0"
}
- Run
elm-make
Output
Packages configured successfully!
Could not find package elm-lang/navigation.
Maybe your elm-stuff/ directory has been corrupted? You can usually fix stuff
like this by deleting elm-stuff/ and rebuilding your project.
Expected Output
No packages exist for `"elm-lang/http": "3.0.0 <= v < 4.0.0"`.
Did you mean an earlier version?
Notes
The error mentions navigation but the issue was http version was incorrect.
Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!
Here is what to expect next, and if anyone wants to comment, keep these things in mind.
I'm hitting this too. I get this message instructing me to delete my elm-stuff directory immediately after deleting it.
Actually, I think this could be #253