Closed (fixed)
Project:
Exif
Version:
8.x-2.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2022 at 00:22 UTC
Updated:
3 Jun 2023 at 10:01 UTC
Jump to comment: Most recent
Unable to install this module on Drupal 9
composer2 require 'drupal/exif:^2.3'
./composer.json has been updated
Running composer update drupal/exif
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies
Info from https://repo.packagist.org: #StandWithUkraine
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires drupal/exif ^2.3, found drupal/exif[dev-2.x, 2.x-dev (alias of dev-2.x)] but it does not match your minimum-stability.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Comments
Comment #2
damienmckennaIt should work.
Try this:
composer why-not drupal/exif:2.3Also, what is the "minimum-stability" value in your composer.json file?
Comment #3
zenimagine commentedcomposer.json
"minimum-stability": "stable",Comment #4
damienmckennaWhat does
composer why-not drupal/exif:2.3say?Comment #5
zenimagine commentedcomposer2 why-not drupal/exif:2.3
[Symfony\Component\Console\Exception\RuntimeException]
Not enough arguments (missing: "version").
prohibits [-r|--recursive] [-t|--tree] [--]
Comment #6
zenimagine commentedthere is this error message
Comment #7
damienmckennaAh, sorry, try this:
composer why-not drupal/exif 2.3Comment #8
zenimagine commentedthere is this error message, I don't know this type of command with "why-not". Can I use it on my server in production without risk ?
composer why-not drupal/exif 2.3
[InvalidArgumentException]
Could not find package "drupal/exif" in your project
prohibits [-r|--recursive] [-t|--tree] [--]
Comment #9
damienmckennaWhile doing some digging I found that the 2.3 release wasn't made available on Composer, I've contacted the d.o admins to see if this can be fixed.
Comment #10
zenimagine commentedOK, thanks
Comment #11
damienmckennaIt should work now.
Comment #12
zenimagine commentedOk I confirm, thank you
Comment #13
zenimagine commentedComment #14
damienmckennaExcellent, thank you!
Comment #16
damienmckenna