- Issue created by @TheGentleman
- 🇫🇮Finland jwwj
I have a similar issue when I try to force the bat module to be a newer version:
composer require 'drupal/bat:^10.1@RC' Problem 1 - Root composer.json requires drupal/bat ^10.1@RC, found drupal/bat[10.1.0-rc1, 10.1.0-rc2, 10.1.0-rc3] but these were not loaded, likely because it conflicts with another require. Problem 2 - drupal/bat_booking 2.1.0 requires drupal/bat ^2 -> found drupal/bat[2.1.0] but it conflicts with your root composer.json require (^10.1@RC). - drupal/bee 3.0.0-rc1 requires drupal/bat_booking * -> satisfiable by drupal/bat_booking[2.1.0]. - drupal/bee is locked to version 3.0.0-rc1 and an update of this package was not requested.
This could potentially be because there is no stable version of drupal/bat 10.x yet, so composer falls back to the minimum stable version of 2.1.0 (I'm not sure of the inner workings of composer and how it resolves dependencies, but this is my guess).
I was able to work around the issue by aliasing the module in my composer require (only downside I'm now on the dev branch instead of the RC, couldn't figure out how to alias an RC version):
composer require 'drupal/bat:10.x-dev as 2.1.0'
But I think the more stable solution would be for drupal/bee to explicitly require a specific version of drupal/bat_booking and any other dependencies it has in it's composer.json. But I leave that for the maintainers to decide...
- 🇮🇹Italy afagioli Rome
You can install BEE on Drupal 10.2.* following this guide
https://www.drupal.org/docs/extending-drupal/contributed-modules/contrib... → - Status changed to Needs review
10 months ago 9:12pm 3 April 2024 - Status changed to Postponed: needs info
9 months ago 9:21am 16 April 2024