-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Description
I have the following in an elm-package.json:
"dependencies": {
"elm-lang/core": "5.0.0 <= v < 6.0.0",
"tsfoster/elm-heap": "2.1.0 <= v < 3.0.0"
},
This installs fine with elm-github-install, as it seems to just use the auther/package name in building a URL to access github.
When I try to install this with elm-pakcage
Error: Your .elm/packages/ directory may be corrupted. I was led to believe that
tsfoster/elm-heap existed, but I could not find anything when I went to look up
the published versions of this package.
The actual package name is 'TSFoster/elm-heap'.
It seems that to elm-make, elm-reactor and elm-publish the case sensitivity of the author and package name is important.
This causes a problem, as I am in the habit of using elm-github-install instead of elm-package install for the extra flexibility it gives me, but if I am not careful this can lead to publishing an elm-package.json that is invalid.
It would be better if elm-github-install enforced the same behaviour as the core elm tools?
Reactions are currently unavailable