Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mingan opened this issue Nov 2, 2017 · 1 comment
Open

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

mingan opened this issue Nov 2, 2017 · 1 comment

Comments

@mingan
Copy link

mingan commented Nov 2, 2017

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?

@brendangibsondrip
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants