Skip to content

No solution found: Unable to satisfy the following requirements #51

Open

Description

@mingan

I have version 1.6.1 installed (as a Ruby gem) and there are two private packages hosted on our company's GitLab. I have a project running and the dependencies are installed ok but when I update one of the dependencies (bump the version, even create a tag for that version) and run elm-install, it ends with:

Solving dependencies...
  ▶ No solution found: Unable to satisfy the following requirements:

- `enectiva/entity-tree (< 2.0.0)` required by `user-specified dependency`
- `enectiva/entity-tree (>= 1.0.3)` required by `user-specified dependency`

When I check the cache in ~/.elm-install I can see that it is still at the previous version 1.0.2 (it's on the commit on master branch which is tagged as that version). However, when I list tags, it's aware of the new one:

git tag -l   
1.0.0
1.0.1
1.0.2
1.0.3

When I run git pull from the cache repository, everything works fine.

I assume, I'm doing something wrong, but what?

Activity

  1. brendangibsondrip commented on Jun 21, 2018

    @brendangibsondrip

    When you bump the version of a local package, you have to remove it from the cache before elm-installing into the consumer.

    i.e.

    rm -Rf ~/.elm-install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions