Installation failed with Composer : require library-blockui/blockui ^2.70 -> could not be found

Created on 31 January 2023, almost 2 years ago
Updated 1 February 2023, almost 2 years ago

Problem/Motivation

The installation with Composer failed.

user@server# composer require 'drupal/elasticsearch_search_api:^1.0'

./composer.json has been updated
Running composer update drupal/elasticsearch_search_api
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires drupal/elasticsearch_search_api ^1.0 -> satisfiable by drupal/elasticsearch_search_api[1.0.0, 1.0.x-dev].
    - drupal/elasticsearch_search_api[1.0.0, ..., 1.0.x-dev] require library-blockui/blockui ^2.70 -> could not be found in any version, there may be a typo in the package name.

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  for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read  for further common problems.

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

Steps to reproduce

Use Drupal 9.5.2 and run the command : composer require 'drupal/elasticsearch_search_api:^1.0'

Proposed resolution

Use an existing package instead of library-blockui/blockui.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

🇫🇷France asubit

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

Comments & Activities

  • Issue created by @asubit
  • First commit to issue fork.
  • Status changed to Closed: works as designed almost 2 years ago
  • 🇧🇪Belgium jOpdebeeck

    The block ui library repository needs to be added to your composer.json file:

    Installation:
    Add both this module and the block ui library to your project's composer.json, which is a dependency of this module:

    ```
    "repositories": [
    {
    "type": "package",
    "package": {
    "name": "library-blockui/blockui",
    "version": "v2.70",
    "type": "drupal-library",
    "dist": {
    "url": "https://github.com/malsup/blockui/archive/2.70.zip",
    "type": "zip"
    }
    }
    }
    ]
    ```
    Install it, as usual, with: `composer require drupal/elasticsearch_search_api`

Production build 0.71.5 2024