trendwerk / debug

Legacy.
GNU General Public License v2.0
1 stars 0 forks source link

Composer installation fails #1

Closed vildhjarta8 closed 9 years ago

vildhjarta8 commented 9 years ago
artur@artur-R710:wordpress$ php composer.phar require trendwerk/debug 1.0.0 --dev
./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
    - Installation request for trendwerk/debug 1.0.0 -> satisfiable by trendwerk/debug[1.0.0].
    - trendwerk/debug 1.0.0 requires wpackagist-plugin/debug-bar ~0.8 -> no matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

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

Any other variations (without version, without --dev flag) fails too.

haroldangenent commented 9 years ago

Custom composer repositories are root-only. This means you will need to define the wpackagist repository in your root composer.json file.

I hadn't documented this properly, so added it to the README.md file: https://github.com/trendwerk/debug#wordpress-packagist