10up-code-review icon indicating copy to clipboard operation
10up-code-review copied to clipboard

"Your requirements could not be resolved to an installable set of packages." error on install

Open stevegrunwell opened this issue 9 years ago • 1 comments
trafficstars

When installing a fresh copy of 0.2.0:

MacBook-Pro:CodeReview steve$ composer global require 10up/10up-code-review
Changed current directory to /Users/steve/.composer
Using version ^0.2.0 for 10up/10up-code-review
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Can only install one of: wp-coding-standards/wpcs[0.9.0, dev-master].
    - Can only install one of: wp-coding-standards/wpcs[dev-master, 0.9.0].
    - Can only install one of: wp-coding-standards/wpcs[0.9.0, dev-master].
    - 10up/10up-code-review v0.2.0 requires wp-coding-standards/wpcs ^0.9.0 -> satisfiable by wp-coding-standards/wpcs[0.9.0].
    - Installation request for 10up/10up-code-review ^0.2.0 -> satisfiable by 10up/10up-code-review[v0.2.0].
    - Installation request for wp-coding-standards/wpcs == 9999999-dev -> satisfiable by wp-coding-standards/wpcs[dev-master].


Installation failed, reverting ./composer.json to its original content.

It's looking like the 6ebfa56a conflicts with how the WordPress Coding Standards package lists its own dependencies.

I'm going to go ahead and get this updated in develop for some further testing before creating (yet another) release.

stevegrunwell avatar Feb 10 '16 23:02 stevegrunwell

An update: this appears to be working properly when I do a fresh installation in VVV, so it may just be an issue with the packages I have installed on my host machine. Still an issue worth tracking down, but hopefully not as urgent as I once thought.

stevegrunwell avatar Feb 11 '16 14:02 stevegrunwell