- Issue created by @sahil.shaikh
- Status changed to Needs review
over 1 year ago 12:21pm 7 August 2023 - Status changed to RTBC
over 1 year ago 12:22pm 7 August 2023 - 🇮🇳India sahil.shaikh
Sorry, I figured it out it was my composer issue.
In my composer.json file"repositories": [ { "type": "composer", "url": "https://packages.drupal.org/8", "type": "composer", "url": "https://asset-packagist.org" } ],
which was incorrect because we had 2 keys in same object
So i have created 2 objects for 2 keys,
Changing to this fixed my issue and able to install module with composer."repositories": [ { "type": "composer", "url": "https://packages.drupal.org/8" }, { "type": "composer", "url": "https://asset-packagist.org" } ],
- Status changed to Closed: works as designed
over 1 year ago 7:52am 9 August 2023 - 🇫🇷France devil2005
Hi,
I reopen this issue because i have this error on composer install
composer require 'drupal/rocket_chat:3.0.x-dev@dev' ./composer.json has been updated Running composer update drupal/rocket_chat Gathering patches for root package. No patches supplied. Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - drupal/rocket_chat_api[dev-3.0.x, 2.2.0, 3.0.x-dev] require guzzlehttp/guzzle ^6.2 -> found guzzlehttp/guzzle[6.2.0, ..., 6.5.x-dev] but the package is fixed to 7.8.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - drupal/rocket_chat_api[dev-1.x, 1.x-dev] require drupal/rocket_chat ^1 -> found drupal/rocket_chat[dev-1.x, 1.0.0, 1.1.0, 1.x-dev (alias of dev-1.x)] but it conflicts with your root composer.json require (3.0.x-dev@dev). - drupal/rocket_chat_api[2.3.0, ..., 2.4.0, 3.0.0, ..., 3.0.1] require drupal/core ^8.8 || ^9 -> found drupal/core[8.8.0-alpha1, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev] but it conflicts with your root composer.json require (^10). - drupal/rocket_chat_api[dev-2.x, 2.5.0, ..., 2.x-dev] require drupal/rocket_chat ^2 -> found drupal/rocket_chat[dev-2.x, 2.2.0, ..., 2.x-dev (alias of dev-2.x)] but it conflicts with your root composer.json require (3.0.x-dev@dev). - drupal/rocket_chat[dev-3.0.x, 3.0.x-dev] require drupal/rocket_chat_api * -> satisfiable by drupal/rocket_chat_api[dev-1.x, dev-2.x, dev-3.0.x, 1.x-dev (alias of dev-1.x), 2.2.0, ..., 2.x-dev, 3.0.0, 3.0.1, 3.0.x-dev (alias of dev-3.0.x)]. - drupal/rocket_chat 3.0.x-dev is an alias of drupal/rocket_chat dev-3.0.x and thus requires it to be installed too. - drupal/rocket_chat_api 3.0.x-dev is an alias of drupal/rocket_chat_api dev-3.0.x and thus requires it to be installed too. - drupal/rocket_chat_api 1.x-dev is an alias of drupal/rocket_chat_api dev-1.x and thus requires it to be installed too. - Root composer.json requires drupal/rocket_chat 3.0.x-dev@dev -> satisfiable by drupal/rocket_chat[3.0.x-dev (alias of dev-3.0.x)]. 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.
Anyone can help ?
Thanks
- 🇫🇷France devil2005
Duplicated with : 📌 Automated Drupal 10 compatibility fixes Needs work