Problem/Motivation
Setting up correctly this module since one month with a lot of retries on different times/day make me thinks i am becoming foolish (smile). i tried different type of install (docker, physical, virtual machine) with new Drupal 9.5/10.1 but i am getting the same error(in the log below) and hope somebody will confirm this
composer require 'drupal/cloudinary:^3.0@RC'
./composer.json has been updated
Running composer update drupal/cloudinary
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires drupal/cloudinary ^3.0@RC, found drupal/cloudinary[3.0.0-rc1, 3.0.0-rc2] but these were not loaded, likely because it conflicts with another require.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
sdevbcpa@devbcpadell:~/dev/project/phpstorm/frame/dr/drp/drp9$ composer require 'drupal/cloudinary:^3.0@RC' --with-all-dependencies
./composer.json has been updated
Running composer update drupal/cloudinary --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- drupal/cloudinary[3.0.0-rc1, ..., 3.0.0-rc2] require drupal/cloudinary_media_library_widget * -> satisfiable by drupal/cloudinary_media_library_widget[2.1.0, 2.1.1, 2.1.2, 2.1.3].
- drupal/cloudinary_media_library_widget[2.1.0, ..., 2.1.3] require drupal/cloudinary ^2 -> found drupal/cloudinary[2.1.0, 2.1.1, 2.1.2, 2.1.3] but it conflicts with your root composer.json require (^3.0@RC).
- Root composer.json requires drupal/cloudinary ^3.0@RC -> satisfiable by drupal/cloudinary[3.0.0-rc1, 3.0.0-rc2].
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Steps to reproduce
on a fresh drupal ^9.5 or ^10 composer require 'drupal/cloudinary:^3.0@RC'
Hope somebody can help confirm
Comments
Comment #2
nginex commentedTry
composer require 'drupal/cloudinary:^3.0@RC' -W
Comment #3
delacosta456 commentedhave tried that at time of writing was impossible for D9 and D10 as i said... Now it's ok for D10 ,
Comment #4
Dency Mary AI'm having the same problem with Drupal 10.2.2 I've tried #2 multiple times, but it never works! Any suggestions?
Comment #5
nginex commentedHey @Dency Mary A
Can you check again? I've provided a fix in the 3.0.0-rc5 release
composer require drupal/cloudinaryshoud mormally workIt was caused by minimum-stability rule in composer.json, so if minimum-stability rule in your root composer.json is higher than "dev" then it will not work. I removed it from the module as this is no longer needed
Comment #6
Dency Mary AThanks @nginex I can install now using "composer require 'drupal/cloudinary:^3.0@RC'"