Could not install version 8.x-5.0 on Drupal 9.1.5 / Drush 10.4 instance
I just tried to install migrate_tools ^5.0 on a clean Drupal 9 site (9.1.5) using drush (Drush 10.4).
When calling the composer require drupal/migrate_tools command I got this error:
Using version ^5.0 for drupal/migrate_tools
./composer.json has been updated
Running composer update drupal/migrate_tools
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/migrate_tools ^5.0 -> satisfiable by drupal/migrate_tools[5.0.0].
- drush/drush 10.4.0 conflicts with drupal/migrate_tools 5.0.0.
- drush/drush is locked to version 10.4.0 and an update of this package was not requested.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
When I download the module and manually install it (in /modules/contrib) and run drush en migrate_tools, it is enabled without errors, so it seems there is a version requirement problem in the composer.json of the module?
Edited by Menno Van Baalen