Unable to install/update

Created on 10 January 2025, 4 months ago
Updated 17 January 2025, 3 months ago

Problem/Motivation

Problem 1
    - drupal/webform_booking[1.1.0, ..., 1.1.4] require drupal/webform_ui * -> satisfiable by drupal/webform_ui[5.0.0, ..., 5.31.0, 6.0.0, ..., 6.2.9].
    - drupal/webform_ui[5.9.0, ..., 5.13.0] require drupal/core ^8.7.7 || ^9 -> found drupal/core[8.7.7, ..., 8.9.20, 9.0.0, ..., 9.5.11] but these were not loaded, likely because it conflicts with another require.
    - drupal/webform_ui[5.0.0, ..., 5.15.0] require drupal/core ^8 -> found drupal/core[8.0.0, ..., 8.9.20] but these were not loaded, likely because it conflicts with another require.
    - drupal/webform_ui[5.16.0, ..., 5.31.0] require drupal/core ^8.8 -> found drupal/core[8.8.0, ..., 8.9.20] but these were not loaded, likely because it conflicts with another require.
    - drupal/webform_ui[6.0.0, ..., 6.1.4] require drupal/core ^8.8 || ^9 -> found drupal/core[8.8.0, ..., 8.9.20, 9.0.0, ..., 9.5.11] but these were not loaded, likely because it conflicts with another require.
    - drupal/webform_ui[6.1.5, ..., 6.1.8] require drupal/core ^9.3 -> found drupal/core[9.3.0, ..., 9.5.11] but these were not loaded, likely because it conflicts with another require.
    - drupal/webform_ui[6.2.0, ..., 6.2.6] require drupal/core ^9.4 || ^10 -> found drupal/core[9.4.0, ..., 9.5.11, 10.0.0, ..., 10.4.1] but these were not loaded, likely because it conflicts with another require.
    - drupal/webform_ui[6.2.4, ..., 6.2.7] require drupal/core ^10.1 -> found drupal/core[10.1.0, ..., 10.4.1] but these were not loaded, likely because it conflicts with another require.
    - drupal/webform_ui[6.2.8, ..., 6.2.9] require drupal/core ^10.2 -> found drupal/core[10.2.0, ..., 10.4.1] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires drupal/webform_booking ^1.0 -> satisfiable by drupal/webform_booking[1.1.0, ..., 1.1.4].

Steps to reproduce

composer -W update 'drupal/webform_booking:^1.1'

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

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.

  • 🇵🇹Portugal rfmarcelino

    Hi @scbritton
    I'm unable to replicate your issue from your message.
    Be aware that only Drupal10+ are supported.

    I ran:

    composer create-project drupal/recommended-project PROJECTNAME
    cd PROJECTNAME
    ddev config
    ddev composer require drush/drush
    ddev drush site:install --account-name=admin --account-pass=admin -y
    ddev composer require drupal/webform_booking
    ddev drush en webform_booking

    and everything seems to be working as expected.
    (these commands require composer and ddev to be installed)

  • 🇦🇹Austria drupalfan2

    Hello,

    I have the same problem on Drupal 11.1.2 with Drupal CMS.

    Your requirements could not be resolved to an installable set of packages.

      Problem 1
        - Root composer.json requires drupal/webform_booking ^1.1 -> satisfiable by drupal/webform_booking[1.1.0, ..., 1.1.7].
        - drupal/webform_booking[1.1.0, ..., 1.1.7] require drupal/webform_ui * -> satisfiable by drupal/webform_ui[5.0.0, ..., 5.31.0, 6.0.0, ..., 6.2.9].
        - drupal/webform_ui[5.9.0, ..., 5.13.0] require drupal/core ^8.7.7 || ^9 -> found drupal/core[8.7.7, ..., 8.9.20, 9.0.0, ..., 9.5.11] but the package is fixed to 11.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/webform_ui[5.0.0, ..., 5.15.0] require drupal/core ^8 -> found drupal/core[8.0.0, ..., 8.9.20] but the package is fixed to 11.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/webform_ui[5.16.0, ..., 5.31.0] require drupal/core ^8.8 -> found drupal/core[8.8.0, ..., 8.9.20] but the package is fixed to 11.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/webform_ui[6.0.0, ..., 6.1.4] require drupal/core ^8.8 || ^9 -> found drupal/core[8.8.0, ..., 8.9.20, 9.0.0, ..., 9.5.11] but the package is fixed to 11.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/webform_ui[6.1.5, ..., 6.1.8] require drupal/core ^9.3 -> found drupal/core[9.3.0, ..., 9.5.11] but the package is fixed to 11.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/webform_ui[6.2.0, ..., 6.2.6] require drupal/core ^9.4 || ^10 -> found drupal/core[9.4.0, ..., 9.5.11, 10.0.0, ..., 10.4.2] but the package is fixed to 11.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/webform_ui[6.2.4, ..., 6.2.7] require drupal/core ^10.1 -> found drupal/core[10.1.0, ..., 10.4.2] but the package is fixed to 11.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/webform_ui[6.2.8, ..., 6.2.9] require drupal/core ^10.2 -> found drupal/core[10.2.0, ..., 10.4.2] but the package is fixed to 11.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.

    When trying
    composer require drupal/webform_booking

    the following version is installed:
    drupal/webform_booking (1.0.13)

    After that I download v1.1.7 from https://www.drupal.org/project/webform_booking/releases/1.1.7 manually and it is working without any problems in Drupal CMS 11.1.2.

    How can we solve the dependency problem?
    Thank you.

  • I was able to force an install of this module by editing one of the yaml files. Unfortunately, I cannot remember which file I edited, where it was, or the edits I made at this exact moment in time. In reality, I'm so frustrated with Drupal as a whole that I'm about to throw in the towel on my project and go back to Wordpress.

  • 🇵🇹Portugal rfmarcelino

    Hi @drupalfan2, @scbritton
    Looking at the composer error, I see that it fails to find a webform version that works.
    There's no stable version of Webform for Drupal 11 yet, but I adjusted the webform requirement to be a little more generic:
    "drupal/webform": "^6.0",
    Try it out and let me know if it made any difference for you.

    If the problem remains:

    Drupal CMS is pretty new, and Drupal 11 overall still lacks stable releases for several contrib modules.
    There are two possible 'workarounds'.
    - In your main composer.json, change to:
    "minimum-stability": "dev",
    - Use mglaman composer-drupal-lenient
    composer require mglaman/composer-drupal-lenient

  • Changing minimum-stability to "dev" from "stable" worked for me.

Production build 0.71.5 2024