You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No solution found: Unable to satisfy the following requirements #51
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.
Activity
brendangibsondrip commentedon Jun 21, 2018
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