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.
Problem/Motivation
Composer installation is broken for Drupal 9.
[InvalidArgumentException]
Could not find a matching version of package drupal/block_class. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (stable).
Steps to reproduce
In terminal use composer for instalation.
composer require 'drupal/block_class:^1.2'
Proposed resolution
In composer.json add line:
"minimum-stability": "dev",
Comment | File | Size | Author |
---|---|---|---|
#2 | block_class-composer-install-error-for-drupal9-3174320-0.patch | 336 bytes | evgen |
Comments
Comment #2
evgen CreditAttribution: evgen commentedComment #3
renatogMakes sense
Comment #5
renatogCommitted to the dev branch
Thanks