Open supermacro opened 4 years ago
upgrade
doesn't support a package-name, so that argument is interpreted as the path to elm.json :)
I hadn't really considered use-cases where upgrading only a single makes sense. Let me think about that for a bit 😄
Oh, woops! I misinterpreted [INPUT]
in the --help
output:
➜ ~ elm-json upgrade --help
elm-json-upgrade
Bring your dependencies up to date
USAGE:
elm-json upgrade [FLAGS] [INPUT]
Hmm this started happening for me randomly with elm-json install
.
I think maybe there's some cache thats causing this? I was semi offline when this started happening and even fully online it now persists.
deleting ~/.elm/elm-json
made this work again for me.
I ran
elm-json upgrade supermacro/elm-antd
at the root of my project (see the below directory structure diagram) and got the following error:But as you can see from the below diagram, the
elm.json
is there.Directory Structure:
Interestingly,
elm-json tree
does work.