Skip to content
This repository was archived by the owner on Aug 23, 2018. It is now read-only.
This repository was archived by the owner on Aug 23, 2018. It is now read-only.

elm-package.json modified (to something invalid) on install failure #136

@jessitron

Description

@jessitron

What I did:

  • in a project with elm-http 1.0.0 <= v < 2.0.0
  • tried to elm-package install one with elm-http 2.0.0 <= v < 3.0.0
    This gave an error about "Unable to find a set of packages that will work with your constraints." which is fine
  • tried to elm-make my project again
    This gave an error about the package I tried to install being installed incorrectly: "your elm-package.json file says you depend on package jessitron/elm-http-with-headers,
    but it looks like it is not properly installed. Try running 'elm-package install'."

The request:
If elm-package fails to install a library, it should please not leave elm-package.json in an invalid state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions