Cannot install module

Created on 23 January 2025, 8 days ago

Problem/Motivation

Installing the module by 'composer require 'drupal/ai_search_block:1.0.x-dev@dev'
gives me this error :

./composer.json has been updated
Running composer update drupal/ai_search_block
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/ai_search_block 1.0.x-dev@dev -> satisfiable by drupal/ai_search_block[1.0.x-dev (alias of dev-1.0.x)].
    - drupal/ai_search_block dev-1.0.x requires drupal/ai_search-ai_search * -> could not be found in any version, there may be a typo in the package name.
    - drupal/ai_search_block 1.0.x-dev is an alias of drupal/ai_search_block dev-1.0.x and thus requires it to be installed too.

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 and ./composer.lock to their original content.
šŸ› Bug report
Status

Active

Version

1.0

Component

Miscellaneous

Created by

šŸ‡§šŸ‡ŖBelgium pbosmans

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

Comments & Activities

  • Issue created by @pbosmans
  • šŸ‡µšŸ‡­Philippines clarkssquared

    Hi,

    I tried installing the 1.0.x-dev version in my drupal project, and I was able to install it.

    āžœ  drupal-project git:(main) āœ— composer require 'drupal/ai_search_block:1.0.x-dev@dev'
    ./composer.json has been updated
    Running composer update drupal/ai_search_block
    Loading composer repositories with package information
    Updating dependencies
    Lock file operations: 11 installs, 0 updates, 0 removals
      - Locking drupal/ai (1.0.3)
      - Locking drupal/ai_search (1.0.3)
      - Locking drupal/ai_search_block (dev-1.0.x 2319014)
      - Locking drupal/key (1.19.0)
      - Locking drupal/search_api (1.37.0)
      - Locking league/commonmark (2.6.1)
      - Locking league/config (v1.2.0)
      - Locking league/html-to-markdown (5.1.1)
      - Locking nette/schema (v1.3.2)
      - Locking nette/utils (v4.0.5)
      - Locking yethee/tiktoken (0.5.1)
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 11 installs, 0 updates, 0 removals
      - Downloading league/html-to-markdown (5.1.1)
      - Downloading nette/utils (v4.0.5)
      - Downloading nette/schema (v1.3.2)
      - Downloading league/config (v1.2.0)
      - Downloading league/commonmark (2.6.1)
      - Downloading yethee/tiktoken (0.5.1)
      - Downloading drupal/key (1.19.0)
      - Downloading drupal/ai (1.0.3)
      - Syncing drupal/ai_search_block (dev-1.0.x 2319014) into cache
      - Installing league/html-to-markdown (5.1.1): Extracting archive
      - Installing nette/utils (v4.0.5): Extracting archive
      - Installing nette/schema (v1.3.2): Extracting archive
      - Installing league/config (v1.2.0): Extracting archive
      - Installing league/commonmark (2.6.1): Extracting archive
      - Installing drupal/search_api (1.37.0): Extracting archive
      - Installing yethee/tiktoken (0.5.1): Extracting archive
      - Installing drupal/key (1.19.0): Extracting archive
      - Installing drupal/ai (1.0.3): Extracting archive
      - Installing drupal/ai_search (1.0.3)
      - Installing drupal/ai_search_block (dev-1.0.x 2319014): Cloning 23190147c5 from cache
    3 package suggestions were added by new dependencies, use `composer suggest` to see details.
    Generating autoload files
    47 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    No security vulnerability advisories found.
    āžœ  drupal-project git:(main) āœ— 
    
  • šŸ‡§šŸ‡ŖBelgium wouters_f Leuven
Production build 0.71.5 2024