Skip to content

Instantly share code, notes, and snippets.

@samuell
Last active September 26, 2016 20:26
Show Gist options
  • Save samuell/bb71ef984146d8d7e010f351494601de to your computer and use it in GitHub Desktop.
Save samuell/bb71ef984146d8d7e010f351494601de to your computer and use it in GitHub Desktop.
[vagrant w]$ composer install -vvv
Reading ./composer.json
Loading config file ./composer.json
Executing command (CWD): git describe --exact-match --tags
Executing command (CWD): git branch --no-color --no-abbrev -v
Executing command (CWD): hg branch
Executing command (CWD): svn info --xml
Failed to initialize global composer: Composer could not find the config file: /home/vagrant/.composer/composer.json
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
Loading plugin Wikimedia\Composer\MergePlugin
Script ComposerHookHandler::onPreInstall handling the pre-install-cmd event terminated with an exception
[ErrorException]
Argument 3 passed to Composer\Package\Link::__construct() must implement interface Composer\Package\LinkConstraint\LinkConstraintInterface, instance of Composer\Semver\Constraint\Constraint given, called in /var/www/html/w/includes/co
mposer/ComposerPackageModifier.php on line 44 and defined
Exception trace:
() at /usr/share/php/Composer/Package/Link.php:58
Composer\Util\ErrorHandler::handle() at /usr/share/php/Composer/Package/Link.php:58
Composer\Package\Link->__construct() at /var/www/html/w/includes/composer/ComposerPackageModifier.php:44
ComposerPackageModifier->newMediaWikiLink() at /var/www/html/w/includes/composer/ComposerPackageModifier.php:28
ComposerPackageModifier->setProvidesMediaWiki() at /var/www/html/w/includes/composer/ComposerHookHandler.php:33
ComposerHookHandler::handleChangeEvent() at /var/www/html/w/includes/composer/ComposerHookHandler.php:20
ComposerHookHandler::onPreInstall() at /usr/share/php/Composer/EventDispatcher/EventDispatcher.php:198
Composer\EventDispatcher\EventDispatcher->executeEventPhpScript() at /usr/share/php/Composer/EventDispatcher/EventDispatcher.php:166
Composer\EventDispatcher\EventDispatcher->doDispatch() at /usr/share/php/Composer/EventDispatcher/EventDispatcher.php:91
Composer\EventDispatcher\EventDispatcher->dispatchScript() at /usr/share/php/Composer/Installer.php:194
Composer\Installer->run() at /usr/share/php/Composer/Command/InstallCommand.php:131
Composer\Command\InstallCommand->execute() at /usr/share/php/Symfony/Component/Console/Command/Command.php:259
Symfony\Component\Console\Command\Command->run() at /usr/share/php/Symfony/Component/Console/Application.php:878
Symfony\Component\Console\Application->doRunCommand() at /usr/share/php/Symfony/Component/Console/Application.php:195
Symfony\Component\Console\Application->doRun() at /usr/share/php/Composer/Console/Application.php:146
Composer\Console\Application->doRun() at /usr/share/php/Symfony/Component/Console/Application.php:126
Symfony\Component\Console\Application->run() at /usr/share/php/Composer/Console/Application.php:82
Composer\Console\Application->run() at /usr/bin/composer:44
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment