Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
This breaks updating to the latest 3.4 version from 3.3:
composer update drupal/environment_indicator --with-dependencies
1/1: http://repo.packagist.org/p/provider-latest$a194d35766dd4af7068e6e683e557e6c564d02f2251432b8d28f3db10a6e647d.json
Finished: success: 1, skipped: 0, failure: 0, total: 1
Gathering patches for root package.
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Dependency "drupal/core" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- drupal/environment_indicator 3.4.0 requires drupal/color ^5.3 -> no matching package found.
- drupal/environment_indicator 3.x-dev requires drupal/color ^5.3 -> no matching package found.
- Installation request for drupal/environment_indicator ^3.4 -> satisfiable by drupal/environment_indicator[3.x-dev, 3.4.0].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
- It's a private package and you forgot to add a custom repository to find it
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
@KarlShea
That is a good point. I was checking out the composer.json of other contrib modules in my builds, and could find none that required core modules. Some would even have a blank require: { }.
Comments
Comment #3
e0ipsoComment #4
karlsheaComment #5
karolus commentedLike @KarlShea noted above, I had this issue with the Color module requirement as well, and opened a ticket on this here.
Comment #6
komlenic commentedThis breaks updating to the latest 3.4 version from 3.3:
Comment #7
karolus commentedI'm about to head out, but will check this syntax in the composer.json file.
This is the current:
If I recall correctly, under D8 naming conventions, would it not need to be:
Or perhaps
"^0.5.3"?Comment #8
karlsheaColor is part of core, so I don't think you'd need it in composer.json at all right? Seems that should be in the info.yml file.
Comment #9
karolus commented@KarlShea
That is a good point. I was checking out the composer.json of other contrib modules in my builds, and could find none that required core modules. Some would even have a blank
require: { }.Comment #10
karolus commentedOK. I have created a patch, and put in this issue.
Comment #11
karolus commentedComment #12
karlsheaTechnically "fixed", follow-up at #3023179: Errors updating to 8.x-3.4