Unable to install with composer

Created on 20 October 2023, 8 months ago
Updated 16 June 2024, 11 days ago

Problem/Motivation

I am unable to install this module with composer on D10 due to following problem:

 Problem 1
    - drupal/change_labels[1.0.4, ..., 1.3.2] require drupal/core_event_dispatcher ^3 || ^4 -> satisfiable by drupal/core_event_dispatcher[3.0.0, ..., 3.3.4].
    - drupal/change_labels 1.0.1 requires drupal/core_event_dispatcher ^3 -> satisfiable by drupal/core_event_dispatcher[3.0.0, ..., 3.3.4].
    - drupal/change_labels 1.0.0 requires 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.1.2 (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/core_event_dispatcher[3.0.0, ..., 3.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.1.2 (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/change_labels[1.0.2, ..., 1.0.3] require drupal/core ^9.2 || 10 -> found drupal/core[9.2.0, ..., 9.5.11, 10.0.0] but the package is fixed to 10.1.2 (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/core_event_dispatcher[3.3.0, ..., 3.3.4] require drupal/core ^9.3 -> found drupal/core[9.3.0, ..., 9.5.11] but the package is fixed to 10.1.2 (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.
    - Root composer.json requires drupal/change_labels * -> satisfiable by drupal/change_labels[1.0.0, ..., 1.3.2].
🐛 Bug report
Status

Closed: cannot reproduce

Version

1.3

Component

Code

Created by

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

Comments & Activities

  • Issue created by @coaston
  • 🇪🇸Spain rodrigoaguilera Barcelona

    I think that is due to the stability of hook event dispatcher 4 being RC.

    Can you try

    composer req drupal/change_labels drupal/hook_event_dispatcher:4@RC

    And write here how it goes so the docs can be updated.

  • Assigned to shiv_yadav
  • Issue was unassigned.
  • I just run :composer req drupal/change_labels drupal/hook_event_dispatcher:4@RC as suggested in #2 with no luck:

    Problem 1
        - Root composer.json requires drupal/hook_event_dispatcher 4@RC, found drupal/hook_event_dispatcher[dev-1.x, dev-2.x, dev-3.x, dev-4.x, 1.0.0, ..., 1.x-dev (alias of dev-1.x), 2.0.0-beta1, ..., 2.x-dev (alias of dev-2.x), 3.0.0-alpha1, ..., 3.x-dev (alias of dev-3.x), 4.0.0-alpha1, ..., 4.x-dev (alias of dev-4.x)] but it does not match the constraint.
     
     Problem 2
        - drupal/change_labels 1.0.1 requires drupal/core_event_dispatcher ^3 -> satisfiable by drupal/core_event_dispatcher[3.0.0, ..., 3.3.4].
        - drupal/change_labels 1.0.0 requires 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.1.2 (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/change_labels[1.0.2, ..., 1.0.3] require drupal/core ^9.2 || 10 -> found drupal/core[9.2.0, ..., 9.5.11, 10.0.0] but the package is fixed to 10.1.2 (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/change_labels[1.0.4, ..., 1.3.2] require drupal/hook_event_dispatcher ^3 || ^4 -> found drupal/hook_event_dispatcher[3.0.0-rc1, ..., 3.3.4, 4.0.0-rc1] but it conflicts with your root composer.json require (4@RC).
        - drupal/core_event_dispatcher[3.0.0, ..., 3.3.4] require 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 it conflicts with your root composer.json require (4@RC).
        - Root composer.json requires drupal/change_labels * -> satisfiable by drupal/change_labels[1.0.0, ..., 1.3.2].
    
  • Status changed to Postponed: needs info 8 months ago
  • 🇪🇸Spain rodrigoaguilera Barcelona

    Sorry I wrote the message with my phone. I meant

    composer req drupal/change_labels drupal/hook_event_dispatcher:^4@RC

    with a "^" char in front of the version.

  • I am still getting the same results.
    Can anyone else to try to download this module via composer?

  • Status changed to Closed: cannot reproduce 11 days ago
  • 🇪🇸Spain rodrigoaguilera Barcelona

    hook_event_dispatcher has a stable release now. It shouldn't give more problems

Production build 0.69.0 2024