Problem/Motivation

When trying to install on a pretty clean and new version of Drupal 10.2, I get this error with composer:


  Problem 1
    - drupal/components[1.0.0, ..., 1.1.0] require drupal/core ~8.0 -> found drupal/core[8.0.0, ..., 8.9.20] but these were not loaded, likely because it conflicts with another require.
    - drupal/components[2.0.0, ..., 2.4.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/gesso[5.2.0, ..., 5.2.6] require drupal/components * -> satisfiable by drupal/components[1.0.0, 1.1.0, 2.0.0, ..., 2.4.0].
    - Root composer.json requires drupal/gesso ^5.2 -> satisfiable by drupal/gesso[5.2.0, ..., 5.2.6].

So this will block installing with 10.2.

TIA.

Comments

bogdog400 created an issue. See original summary.

clafferty’s picture

I believe this is a compatibility issue with the Components module, not Gesso. To work with Drupal 10.2, I think you'll need to upgrade to the dev release of Components 3.

https://www.drupal.org/project/components

Based on their current documentation, to do that run composer require 'drupal/components:^3.0@beta'

We've been using the 3.0 beta successfully with the latest Drupal and Gesso releases, but let please let me know if you still encounter issues after upgrading.

bogdog400’s picture

Yes, I think this was right. Thanks!

clafferty’s picture

Status: Active » Closed (works as designed)