simshaun/recurr[v5.0.0 install error

Created on 17 September 2023, over 1 year ago
Updated 26 September 2023, over 1 year ago

When trying to install via composer I get an error (see screenshot attached and code below). I also tried to install manually but then I get composer files missing error. Guidance would be appreciated Thanks

[mosteastcom@cp2 ~]$ cd public_html
[mosteastcom@cp2 public_html]$ /opt/cpanel/ea-php81/root/usr/bin/php /opt/cpanel/composer/bin/composer require 'drupal/smart_date:^4.0'
./composer.json has been updated
Running composer update drupal/smart_date
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - simshaun/recurr[v5.0.0, ..., v5.0.1] require doctrine/collections ~1.6 -> found doctrine/collections[v1.6.0, ..., 1.8.0] but the package is fixed to 2.1.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/smart_date[4.0.0, ..., 4.0.3] require simshaun/recurr ^5 -> satisfiable by simshaun/recurr[v5.0.0, v5.0.1].
    - Root composer.json requires drupal/smart_date ^4.0 -> satisfiable by drupal/smart_date[4.0.0, 4.0.1, 4.0.2, 4.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.
[mosteastcom@cp2 public_html]$
🐛 Bug report
Status

Closed: works as designed

Version

4.0

Component

Code

Created by

🇬🇧United Kingdom artatac

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

Comments & Activities

  • Issue created by @artatac
  • 🇬🇧United Kingdom artatac

    pols I tried with
    /opt/cpanel/ea-php81/root/usr/bin/php /opt/cpanel/composer/bin/composer -w require 'drupal/smart_date:^4.0' and now ok so just FYI

  • Status changed to Closed: works as designed over 1 year ago
  • 🇨🇦Canada mandclu

    Also, version 5.0.2 of the recurr library has just been tagged, which will allow for using modern versions of doctrine

Production build 0.71.5 2024