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.
Repro case:
- Install Drupal core 8.1.x
- Go to root folder
- Run
composer require drupal/address
>composer require drupal/address
[InvalidArgumentException]
Could not find package drupal/address at any version for your minimum-stability (dev). Check the package spelling or your minimum-stability
Workaround:
- Install Drupal core 8.1.x
- Go to root folder
php modules/composer_manager/scripts/init.php
composer drupal-update drupal/address
Comment | File | Size | Author |
---|---|---|---|
#2 | Issue-2736003-Could-not-find-package-drupal-address-.patch | 564 bytes | hass |
Comments
Comment #2
hass CreditAttribution: hass commentedComment #3
hass CreditAttribution: hass commentedComment #4
hass CreditAttribution: hass commentedComment #5
bojanz CreditAttribution: bojanz at Centarro commentedI have removed all mentions of composer_manager from the module. Tested the composer require way with a fresh core install, got no errors.
Comment #6
merilturock CreditAttribution: merilturock commentedI guess your trying to run the update in the path of commerce rather try to run the update from the root path of drupal it works..