Problem/Motivation
$ composer require drupal/cl_generator
Running composer update drupal/cl_generator
Gathering patches for root package.
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires drupal/cl_generator * -> satisfiable by drupal/cl_generator[dev-1.x, dev-2.x, dev-3.x, 1.0.0-rc1, 1.0.0-rc2, 1.0.0-rc3, 1.x-dev, 2.0.0-alpha1, 2.0.0-alpha2, 2.0.0-beta1, 2.x-dev, 3.x-dev].
- drupal/cl_generator[dev-1.x, dev-2.x, dev-3.x, 1.0.0-rc1, ..., 1.x-dev, 2.0.0-alpha1, ..., 2.x-dev, 3.x-dev] require chi-teck/drupal-code-generator ^2.5 -> found chi-teck/drupal-code-generator[2.5.0, ..., 2.x-dev] but the package is fixed to 3.6.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require drupal/cl_generator:*" to figure out if any version is installable, or "composer require drupal/cl_generator:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes