Cannot install through composer

Created on 19 February 2020, almost 5 years ago
Updated 28 July 2023, over 1 year ago

Trying to install with
composer require 'drupal/animate_css:^1.1'

I get:

Using version ^1.1 for drupal/animate_css
./composer.json has been updated
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for drupal/animate_css ^1.1 -> satisfiable by drupal/animate_css[1.1.0].
    - drupal/animate_css 1.1.0 requires daneden/animate.css ^3.7.2 -> no matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.

Using Composer 1.9.3 (last version at the moment). Clearing composer cache didn't help.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇹Italy nessunluogo Tremestieri Etneo (CT)

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.

  • 🇦🇺Australia VladimirAus Brisbane, Australia

    Thanks all! That's resolved!

  • Automatically closed - issue fixed for 2 weeks with no activity.

  • Status changed to Fixed over 1 year ago
  • 🇺🇸United States bcobin

    Don't mean to reopen this (or perhaps I do) - my composer looks exactly like #7, but I still get:

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

    Problem 1
    - Root composer.json requires drupal/animate_css ^2.1 -> satisfiable by drupal/animate_css[2.1.0].
    - drupal/animate_css 2.1.0 requires daneden/animate.css 4.1.1 -> found daneden/animate.css[3.7.2] but it does not match the constraint.

    Any ideas? Thanks...

Production build 0.71.5 2024