Drupal-console: [console] Error when using with Composer 2.0

Created on 26 Oct 2020  路  2Comments  路  Source: hechoendrupal/drupal-console

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.

`

Most helpful comment

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

All 2 comments

Yeah, same issue here.

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

itsdarrylnorris picture itsdarrylnorris  路  9Comments

nvaken picture nvaken  路  4Comments

koffer picture koffer  路  3Comments

guardiola86 picture guardiola86  路  3Comments

dreamfony picture dreamfony  路  5Comments