Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Scenario:
1. Add next code to composer.json
{
"require": {
"composer/installers": "^1.0.20",
"drupal/drupal-core": "8.0.*"
},
}
Code is from https://github.com/tstoeckler/drupal-core
2. Execute drush composer install
3. See error: Could not parse version constraint ^1.0.20: Invalid version string "^1.0.20"
Comments
Comment #1
RobLoachMake an issue over at https://github.com/tstoeckler/drupal-core . Another option is to switch over to use:
Comment #2
RobLoach