Can't install this module on a fresh Drupal 10

Created on 26 February 2024, about 1 year ago

Problem/Motivation

Trying to install this module with composer will result in Your requirements could not be resolved to an installable set of packages.

With drupal/bee:^3.0@RC:

Problem 1
    - drupal/commerce[2.37.0, ..., 2.38.0] require drupal/inline_entity_form ^1.0@RC || ^3.0@RC -> found drupal/inline_entity_form[dev-1.x, dev-3.x, 1.0.0-alpha1, ..., 1.x-dev (alias of dev-1.x), 3.0.0-rc15, ..., 3.x-dev (alias of dev-3.x)] but it does not match your minimum-stability.
    - drupal/bee 3.0.0-rc1 requires drupal/commerce ^2.37 -> satisfiable by drupal/commerce[2.37.0, 2.38.0].
    - Root composer.json requires drupal/bee ^3.0@RC -> satisfiable by drupal/bee[3.0.0-rc1].

With drupal/bee:

Problem 1
    - Root composer.json requires drupal/bee * -> satisfiable by drupal/bee[1.0.0, 1.1.0, 1.2.0].
    - drupal/bee[1.0.0, ..., 1.2.0] require drupal/core ^8 || ^9 -> found drupal/core[8.0.0, ..., 8.9.20, 9.0.0, ..., 9.5.11] but the package is fixed to 10.2.3 (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.

Steps to reproduce

New "Quick Drupal install" with DDEV, which is basically a composer create drupal/recommended-project (fresh Drupal 10.2.3 with PHP 8.1.27 and no other modules previously installed)

Proposed resolution

Add installation instructions in the module page, which comprise setting "minimum-stability": "dev", in your Drupal project (root) composer.json

This will make composer require drupal/bee result in:

  - Installing commerceguys/intl (v2.0.5): Extracting archive
  - Installing doctrine/collections (2.1.4): Extracting archive
  - Installing commerceguys/addressing (v2.2.0): Extracting archive
  - Installing drupal/address (2.0.1): Extracting archive
  - Installing drupal/fullcalendar_library (2.3.0): Extracting archive
  - Installing roomify/bat (1.4.0): Extracting archive
  - Installing rlanvin/php-rrule (v2.4.1): Extracting archive
  - Installing drupal/bat (2.1.0): Extracting archive
  - Installing drupal/bat_unit (2.1.0)
  - Installing drupal/bat_event (2.1.0)
  - Installing drupal/ctools (4.0.4): Extracting archive
  - Installing drupal/services (5.0.0-beta8): Extracting archive
  - Installing drupal/bat_fullcalendar (2.1.0)
  - Installing drupal/bat_api (3.1.0-rc2): Extracting archive
  - Installing drupal/office_hours (1.16.0): Extracting archive
  - Installing drupal/token (1.13.0): Extracting archive
  - Installing drupal/state_machine (1.10.0): Extracting archive
  - Installing drupal/entity (1.4.0): Extracting archive
  - Installing drupal/profile (1.8.0): Extracting archive
  - Installing drupal/inline_entity_form (3.0.0-rc19): Extracting archive
  - Installing drupal/entity_reference_revisions (1.11.0): Extracting archive
  - Installing drupal/commerce (2.38.0): Extracting archive
  - Installing drupal/commerce_price (2.38.0)
  - Installing drupal/commerce_store (2.38.0)
  - Installing drupal/commerce_product (2.38.0)
  - Installing drupal/commerce_number_pattern (2.38.0)
  - Installing drupal/commerce_order (2.38.0)
  - Installing drupal/bat_event_ui (2.1.0)
  - Installing drupal/bat_event_series (2.1.0)
  - Installing drupal/bat_booking (2.1.0)
  - Installing drupal/bee (3.0.0-rc1): Extracting archive

which to me looks way more than necessary. So I suggest maintainers open an issue on BAT module to remove the commerce dependency (it is a very big & unrelated module!).

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Component

Miscellaneous

Created by

🇮🇹Italy kopeboy Milan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024