Problem/Motivation
Cannot install any version of Admin Toolbar 3.* on Drupal 10.1.6. Tried v. 3.0, 3.2, no version. Added the -W flag.
Steps to reproduce
Install DDEV-Local on WSL2, Windows 11. Install recommended version of Drupal using DDEV and Composer. Add language modules included from the admin form (extend). Then try to install admin_toolbar. This is the command I wrote (although I got same result with no version indicated):
ddev composer require 'drupal/admin_toolbar:^3.2' -W
This is what I got as an answer:
./composer.json has been updated
Running composer update drupal/admin_toolbar --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- drush/drush[10.1.0, ..., 10.3.5] require composer/semver ^1.4 -> found composer/semver[1.4.0, ..., 1.7.2] but these were not loaded, likely because it conflicts with another require.
- drush/drush[10.3.6, ..., 10.6.2] require psr/log ~1.0 -> found psr/log[1.0.0, ..., 1.1.4] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires drush/drush ^10.1 -> satisfiable by drush/drush[10.1.0, ..., 10.6.2].
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Composer [require drupal/admin_toolbar:^3.2 -W] failed, composer command failed: exit status 2. stderr=