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

delacosta456 created an issue. See original summary.

nginex’s picture

Try

composer require 'drupal/cloudinary:^3.0@RC' -W

delacosta456’s picture

have tried that at time of writing was impossible for D9 and D10 as i said... Now it's ok for D10 ,

Dency Mary A’s picture

I'm having the same problem with Drupal 10.2.2 I've tried #2 multiple times, but it never works! Any suggestions?

nginex’s picture

Status: Active » Needs review

Hey @Dency Mary A

Can you check again? I've provided a fix in the 3.0.0-rc5 release

composer require drupal/cloudinary shoud mormally work

It 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

Dency Mary A’s picture

Thanks @nginex I can install now using "composer require 'drupal/cloudinary:^3.0@RC'"