Problem/Motivation
composer require 'drupal/image_field_caption:^1.0'
./composer.json has been updated
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/image_field_caption 1.0.0 requires drupal/image-image * -> no matching package found.
- drupal/image_field_caption 1.x-dev requires drupal/image-image * -> no matching package found.
- Installation request for drupal/image_field_caption ^1.0 -> satisfiable by drupal/image_field_caption[1.x-dev, 1.0.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 for more details.
- It's a private package and you forgot to add a custom repository to find it
Steps to reproduce
launch
composer require 'drupal/image_field_caption:^1.0'
Proposed resolution
In image_field_caption.info.yml
change
- image:image
in
- drupal:image
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | image_field_caption_8.x-1.x_composer_dependency_fix_3172898-3.patch | 345 bytes | ambient.impact |
| #4 | image_field_caption-dependencies_fix-3172898-4.patch | 381 bytes | aaronbauman |
Comments
Comment #2
ambient.impactI'm seeing this too. 😭
Comment #3
ambient.impactHere's a patch against the 8.x-1.x branch.
Comment #4
aaronbaumanWhile we're updating the info file, may as well update from "core" to "core_version_requirement"
Comment #5
ambient.impactI was actually going to open a new issue for that to keep things organized. That seems like out of scope for this issue.
Comment #6
ambient.impactNo idea how those got changed. D:
Comment #7
aaronbaumanEither way. It's a simple fix, seems good to go.
Comment #8
jcrump@tulane.edu commentedI'm still getting the drupal/image-image required error.
-- Sorry. I see it's a patch and not new dev version.
Comment #10
ambient.impactThanks for committing the fix and the 1.1 release! It's working nicely now. I'm going to mark this as fixed.