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

Comments

maurizio_akabit created an issue. See original summary.

ambient.impact’s picture

I'm seeing this too. 😭

ambient.impact’s picture

Here's a patch against the 8.x-1.x branch.

aaronbauman’s picture

Version: 8.x-1.0 » 8.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new381 bytes

While we're updating the info file, may as well update from "core" to "core_version_requirement"

ambient.impact’s picture

Version: 8.x-1.x-dev » 8.x-1.0
Status: Needs review » Active

I was actually going to open a new issue for that to keep things organized. That seems like out of scope for this issue.

ambient.impact’s picture

Version: 8.x-1.0 » 8.x-1.x-dev
Status: Active » Needs review

No idea how those got changed. D:

aaronbauman’s picture

Status: Needs review » Reviewed & tested by the community

Either way. It's a simple fix, seems good to go.

jcrump@tulane.edu’s picture

I'm still getting the drupal/image-image required error.

-- Sorry. I see it's a patch and not new dev version.

  • ironsizide committed 1be4db7 on 8.x-1.x
    Issue #3172898 by Ambient.Impact, AaronBauman: Error with composer...
ambient.impact’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for committing the fix and the 1.1 release! It's working nicely now. I'm going to mark this as fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.