I'm installing civicrm plugin and I don't understand why I've got ErrorException with console-extend-plugin:
$ composer require civicrm/extendedreport:5.21 -v
Installs: zetacomponents/mail:1.9.4, electrolinux/phpquery:0.9.7, civicrm/extendedreport:5.21
In Installer.php line 35:
[ErrorException]
Undefined index: civicrm
Exception trace:
at vendor/drupal/console-extend-plugin/src/Installer.php:35
Composer\Util\ErrorHandler::handle() at vendor/drupal/console-extend-plugin/src/Installer.php:35
Drupal\Console\Composer\Plugin\Installer->getInstallPath() at phar:///home/kenorb/bin/composer/src/Composer/Installer/LibraryInstaller.php:112
Composer\Installer\LibraryInstaller->download() at phar:///home/kenorb/bin/composer/src/Composer/Installer/InstallationManager.php:277
Composer\Installer\InstallationManager->downloadAndExecuteBatch() at phar:///home/kenorb/bin/composer/src/Composer/Installer/InstallationManager.php:218
Composer\Installer\InstallationManager->execute() at phar:///home/kenorb/bin/composer/src/Composer/Installer.php:797
Composer\Installer->doInstall() at phar:///home/kenorb/bin/composer/src/Composer/Installer.php:622
Composer\Installer->doUpdate() at phar:///home/kenorb/bin/composer/src/Composer/Installer.php:287
Composer\Installer->run() at phar:///home/kenorb/bin/composer/src/Composer/Command/RequireCommand.php:490
Composer\Command\RequireCommand->doUpdate() at phar:///home/kenorb/bin/composer/src/Composer/Command/RequireCommand.php:339
Composer\Command\RequireCommand->execute() at phar:///home/kenorb/bin/composer/vendor/symfony/console/Command/Command.php:298
Symfony\Component\Console\Command\Command->run() at phar:///home/kenorb/bin/composer/vendor/symfony/console/Application.php:1040
Symfony\Component\Console\Application->doRunCommand() at phar:///home/kenorb/bin/composer/vendor/symfony/console/Application.php:301
Symfony\Component\Console\Application->doRun() at phar:///home/kenorb/bin/composer/src/Composer/Console/Application.php:377
Composer\Console\Application->doRun() at phar:///home/kenorb/bin/composer/vendor/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at phar:///home/kenorb/bin/composer/src/Composer/Console/Application.php:141
Composer\Console\Application->run() at phar:///home/kenorb/bin/composer/bin/composer:88
require() at /home/kenorb/bin/composer:29
I'm installing civicrm plugin and I don't understand why I've got ErrorException with
console-extend-plugin
:My
composer.json
:Line 35:
$class = 'Drupal\\Console\\Composer\\Plugin\\' . $this->supportedTypes[$frameworkType];