10up / 10up-code-review

Custom PHP_CodeSniffer rules to help flag common issues during code review
43 stars 5 forks source link

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

Open stevegrunwell opened 8 years ago

stevegrunwell commented 8 years ago

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 commented 8 years ago

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.