Closed doppioslash closed 8 years ago
@evancz this is important, means that any new package for 0.16 isn't being added to the right list and is not installable. Not too sure on the work involved to fix it
I am having similar problems with janiczek/elm-markov
(0.17). Was thinking it's because of me butchering up the publishing process a few versions back, but @eeue56 said he has a similar problem with elm-string-extra
.
What I've seen is that it downloads the package alright but into a wrong folder:
$ ls elm-stuff/packages/elm-community/elm-list-extra/
1.0.0/
$ ls elm-stuff/packages/janiczek/elm-markov/
Janiczek-elm-markov-23a5cde/
Hope this helps.
EDIT: To be precise, my error is:
$ mkdir test-project
$ cd test-project
$ elm-package install janiczek/elm-markov --yes
Downloading elm-community/elm-list-extra
Downloading elm-lang/core
Downloading janiczek/elm-markov
Error: Could not download source code successfully.
@Janiczek, open a new issue. I'd like to delete these two comments to keep this issue focused.
I believe @eeue56 and I found a workable solution for this. It involves using exact constraints like mdgriffith/elm-style-animation-zero-sixteen": "1.0.1 <= v < 1.0.1"
which I think all products should be doing anyway.
@eeue56, can say more about this. If I have misunderstood, can we open an issue that explains it more clearly.
which I think all products should be doing anyway
Doesn't this defeat the whole purpose of enforced SemVer? Or am I misunderstanding?
@evancz done, #214
I gave @doppioslash the patched 0.16 which enabled these old packages to work, so this is closed as far as I'm concerned. Waiting for @rtfeldman so we can make npm binaries if needed, but so far nobody else has had this problem yet.
@JoeyEremondi (about semver) if in production the logic of something changes, then it's a patch release, but may break your site because your site relies on that logic. (this discussion probably should be elsewhere?)
I have 0.16 installed on my machine, after cleaning
~/.elm
andelm-stuff
in my project I still have this message when trying to get the packagemdgriffith/elm-style-animation-zero-sixteen
(also same formdgriffith/elm-style-animation-0.16
):If I remove it from the elm-package and try to install again:
My elm-package.json:
Attached a small project you can use this description to reproduce the bug on. testhtmlanim.zip
The package is visible on package.elm-lang.org but it's not in the all 0.16 packages list.
If I install it forcibly by cloning it to elm-stuff and changing the directory structure to match elm-stuff's I can use it to compile, but it still shows the
Error: There are no versions of package 'mdgriffith/elm-style-animation-zero-sixteen' on your computer.
error when runningelm-package install
.