Not installing on Drupal 10

Created on 9 January 2023, almost 2 years ago
Updated 14 March 2023, over 1 year ago

Attempted to install Aristotle Theme on Drupal 10.0.1 (Standard Drupal 10 install, not Opigno), installing via instructions on profile page:

composer require 'drupal/aristotle:^3.0'

Got the following result:

# composer require 'drupal/aristotle:^3.0'
./composer.json has been updated
Running composer update drupal/aristotle
Loading composer repositories with package information
Updating dependencies
Info from https://repo.packagist.org: #StandWithUkraine
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - drupal/aristotle 3.0.3 requires drupal/css_editor ^2.0 -> satisfiable by drupal/css_editor[2.0.1, 2.0.x-dev].
    - drupal/aristotle[3.0.0-beta1, ..., 3.0.2] require drupal/core ^9 -> found drupal/core[9.0.0-alpha1, ..., 9.5.x-dev] but the package is fixed to 10.0.1 (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/css_editor[2.0.1, ..., 2.0.x-dev] require drupal/core ^8 || ^9 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev] but the package is fixed to 10.0.1 (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/aristotle ^3.0 -> satisfiable by drupal/aristotle[3.0.0-beta1, ..., 3.0.3].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Profile page states that the theme is part of the Opigno project, but doesn't seem to indicate that Opigno is a requirement.

πŸ› Bug report
Status

RTBC

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States BEGRAFX Laconia, New Hampshire

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.

  • πŸ‡¬πŸ‡§United Kingdom GreenReaper Welling, Bexley, London

    I tried

    composer require 'drupal/aristotle:^3.0.3'

    It got further, removing the drupal/core line. The issue is it requires css_editor β†’ which has not made a release with Drupal 10 support.

  • πŸ‡ΊπŸ‡ΈUnited States BEGRAFX Laconia, New Hampshire

    I've talked with the css_editor folks, there was an issue there, but I worked up a patch, and CSS Editor is now working fine with Drupal 10. I thought that would resolve the issue, but I'm still getting this same error message. I'm not sure WHY I'm getting the part about CSS Editor, seeing as it is already installed, active, and working. I can only presume that Composer doesn't "like" my patched version, and I'll need to wait for them to push an update.

    Even using the '3.0.3' method that @GreenReaper shares, I still get:

    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - drupal/css_editor 2.0.1 requires drupal/core ^8 || ^9 -> found drupal/core[8.0.0, ..., 8.9.20, 9.0.0, ..., 9.5.3] but the package is fixed to 10.0.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.
        - drupal/aristotle 3.0.3 requires drupal/css_editor ^2.0 -> satisfiable by drupal/css_editor[2.0.1].
        - Root composer.json requires drupal/aristotle ^3.0.3 -> satisfiable by drupal/aristotle[3.0.3].
    
    Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
    
    Installation failed, reverting ./composer.json and ./composer.lock to their original content.

    My patch should resolve the first portion of this issue. I'm guessing the lock file isn't happy, so, like I said above, I'll have to wait for them to push an update of CSS Editor. I'm presuming that once that happens, that will "fix" the first part, and fixing the first part will resolve the second part. I'm not sure what the 3rd part -Root composer.json requires... is about. I don't see an issue here. Not sure why it is even mentioned.

  • Status changed to RTBC over 1 year ago
  • Tried to install the Aristotle theme by composer and git version both are working fine to me. Not find any issue in installation.

    Testing Steps:
    1. Install the drupal 10.0.x version.
    2. composer require 'drupal/aristotle:^3.0'.
    3. Appearance tab - set the default theme
    4. Clear the cache and reload the page.

    Testing result: Pass
    Not installing on Drupal 10

    Moved the issue to RTBC.

Production build 0.71.5 2024