Cannot install on vanilla Drupal 10

Created on 30 December 2022, almost 2 years ago
Updated 27 March 2024, 9 months ago

Problem/Motivation

Installation with composer fails on a fresh copy of Drupal 10.0.0 using docker (docker4drupal) and PHP 8.2.0, minimum-stability: alpha.
Tried 2.0.x alpha2 and dev.

Problem 1
    - drupal/core_event_dispatcher[2.0.0-beta1, ..., 2.0.0] require drupal/core ~8.0 -> found drupal/core[8.0.0-beta6, ..., 8.9.20] but these were not loaded, likely because it conflicts with another require.
    - drupal/core_event_dispatcher[2.1.0, ..., 2.5.0, 3.0.0-alpha1, ..., 3.2.0] require drupal/core ^8 || ^9 -> found drupal/core[8.0.0-beta6, ..., 8.9.20, 9.0.0-alpha1, ..., 9.5.0] but these were not loaded, likely because it conflicts with another require.
    - drupal/core_event_dispatcher[3.3.0, ..., 3.3.1] require drupal/core ^9.3 -> found drupal/core[9.3.0-alpha1, ..., 9.5.0] but these were not loaded, likely because it conflicts with another require.
    - drupal/layout_builder_kit[2.0.0-alpha1, ..., 2.0.0-alpha2] require drupal/core_event_dispatcher * -> satisfiable by drupal/core_event_dispatcher[2.0.0-beta1, ..., 2.5.0, 3.0.0-alpha1, ..., 3.3.1].
    - Root composer.json requires drupal/layout_builder_kit ^2.0@alpha -> satisfiable by drupal/layout_builder_kit[2.0.0-alpha1, 2.0.0-alpha2].
🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇫🇮Finland irowboat

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇹🇭Thailand AlfTheCat

    Same here, seems like the core_event_dispatcher module is required but its not available in D10.

  • First commit to issue fork.
  • 🇺🇸United States aangel

    Sorry I missed this.

    Next release in the 2.x (Hook Event Dispatcher 3.x) and 3.x (Hook Event Dispatcher 4.x) branches I'll check this out.

  • 🇺🇸United States adrianm6254

    drupal/hook_event_dispatcher:^4.0@RC is available and supports D10 but layout_builder_kit doesn't support this version.

    This is what I get:

    composer require 'drupal/hook_event_dispatcher:^4.0@RC'

    Problem 1
    - Root composer.json requires drupal/hook_event_dispatcher ^4.0@RC, found drupal/hook_event_dispatcher[4.0.0-rc1] but these were not loaded, likely because it conflicts with another require.
    Problem 2
    - drupal/core_event_dispatcher is locked to version 3.3.4 and an update of this package was not requested.
    - drupal/core_event_dispatcher 3.3.4 requires drupal/hook_event_dispatcher * -> found drupal/hook_event_dispatcher[1.0.0, ..., 1.29.0, 2.0.0, ..., 2.5.0, 3.0.0-rc1, ..., 3.3.4, 4.0.0-rc1] but these were not loaded, likely because it conflicts with another require.
    Problem 3
    - drupal/layout_builder_kit is locked to version 2.0.0-alpha2 and an update of this package was not requested.
    - drupal/layout_builder_kit 2.0.0-alpha2 requires drupal/hook_event_dispatcher ^3 -> found drupal/hook_event_dispatcher[3.0.0-rc1, ..., 3.3.4] but it conflicts with your root composer.json require (^4.0@RC).

  • 🇺🇸United States aangel

    Work has begun on the 3.x branch with the HEC 4.0 and it's working well.

    Looking at converting to the new single directory component system at the same time. In theory, people's CSS shouldn't be affected but don't know yet what the impact will be.

  • Status changed to Fixed 9 months ago
  • 🇺🇸United States aangel

    Just released 2.0.0-beta1, which installs on PHP 8.1/8.2 and Drupal 10.1/10.2 and uses HED 3.x.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024