drupal-console icon indicating copy to clipboard operation
drupal-console copied to clipboard

[console] Error when using with Composer 2.0

Open aikaterine opened this issue 3 years ago • 2 comments

The "drupal/console-extend-plugin" plugin requires API (1.0)

When running update using Composer 2.0 the following error occurs:

`The "drupal/console-extend-plugin" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.

Your requirements could not be resolved to an installable set of packages.

Problem 1 - Root composer.json requires drupal/core-recommended ^9 -> satisfiable by drupal/core-recommended[9.0.0-alpha1, ..., 9.2.x-dev]. - drupal/console 1.0.0-rc12 requires drupal/console-core 1.0.0-rc12 -> satisfiable by drupal/console-core[1.0.0-rc12]. - Conclusion: don't install drupal/console-core 1.0.0-rc12 (conflict analysis result) - drupal/console 1.0.0-rc13 requires drupal/console-core 1.0.0-rc13 -> satisfiable by drupal/console-core[1.0.0-rc13]. - Conclusion: don't install drupal/console-core 1.0.0-rc13 (conflict analysis result) - drupal/console 1.0.0-rc14 requires drupal/console-core 1.0.0-rc14 -> satisfiable by drupal/console-core[1.0.0-rc14]. - Conclusion: don't install drupal/console-core 1.0.0-rc14 (conflict analysis result) - drupal/console 1.0.0-rc15 requires drupal/console-core 1.0.0-rc15 -> satisfiable by drupal/console-core[1.0.0-rc15]. - Conclusion: don't install drupal/console-core 1.0.0-rc15 (conflict analysis result) - drupal/console[1.0.0-rc16, ..., 1.9.5] require drupal/console-extend-plugin ~0 -> satisfiable by drupal/console-extend-plugin[0.1.0, ..., 0.9.4]. - drupal/console-extend-plugin[0.1.0, ..., 0.9.4] require composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint. - drupal/console[1.0.0-alpha1, ..., 1.0.0-rc11] require alchemy/zippy 0.3.5 -> satisfiable by alchemy/zippy[0.3.5]. - Conclusion: don't install alchemy/zippy 0.3.5 (conflict analysis result) - Root composer.json requires drupal/console ~1.0 -> satisfiable by drupal/console[1.0.0-alpha1, ..., 1.9.5].

You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.

`

aikaterine avatar Oct 26 '20 14:10 aikaterine

Yeah, same issue here.

leydisContre7777 avatar Oct 26 '20 14:10 leydisContre7777

See hechoendrupal/drupal-console-extend-plugin#23 for the real issue.

kasperg avatar Oct 26 '20 18:10 kasperg