Error install on Drupal 10

Created on 3 July 2024, 6 months ago
Updated 12 August 2024, 5 months ago

$ composer require 'drupal/term_merge:^2.0@beta'
./composer.json has been updated
Running composer update drupal/term_merge
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- drupal/term_merge[2.0.0-beta1, ..., 2.0.0-beta2] require drupal/core ^9 -> found drupal/core[9.0.0, ..., 9.5.11] but the package is fixed to 10.3.0 (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/term_merge[2.0.0-beta3, ..., 2.0.0-beta6] require drupal/term_reference_change * -> found drupal/term_reference_change[dev-1.x, dev-2.x, 1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-beta1, 1.x-dev (alias of dev-1.x), 2.0.0-beta2, 2.0.0-beta3, 2.x-dev (alias of dev-2.x)] but it does not match your minimum-stability.
- Root composer.json requires drupal/term_merge ^2.0@beta -> satisfiable by drupal/term_merge[2.0.0-beta1, ..., 2.0.0-beta6].

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.
$

💬 Support request
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

🇮🇩Indonesia drupalnesia

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

Merge Requests

Comments & Activities

  • Issue created by @drupalnesia
  • 🇺🇸United States mizage@gmail.com

    Did you try removing your composer.lock file?

  • 🇺🇸United States mweixel

    Removing the composer.lock file seems to solve the first element in the problem, but the minimum-stability error persists:

    % composer -W require 'drupal/term_merge:^2.0@beta'
    ./composer.json has been updated
    Running composer update drupal/term_merge --with-all-dependencies
    Loading composer repositories with package information
    Updating dependencies
    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - drupal/term_merge[2.0.0-beta1, ..., 2.0.0-beta6] require drupal/term_reference_change * -> found drupal/term_reference_change[dev-1.x, dev-2.x, 1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-beta1, 1.x-dev (alias of dev-1.x), 2.0.0-beta2, 2.0.0-beta3, 2.x-dev (alias of dev-2.x)] but it does not match your minimum-stability.
        - Root composer.json requires drupal/term_merge ^2.0@beta -> satisfiable by drupal/term_merge[2.0.0-beta1, ..., 2.0.0-beta6].
    

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

  • 🇺🇸United States mizage@gmail.com

    Maybe post your composer.json file?

  • 🇮🇳India Raveen Kumar

    Hello Guys,
    here is my configuration for Drupal
    https://prnt.sc/ur0o_B716ET9

    I have installed this module using command
    - composer require 'drupal/term_merge:^2.0@beta'
    And I was able to download it without any error as you acn see in my aatached screenshot.

    Please let me know where this error persists?

  • First commit to issue fork.
  • Status changed to Needs review 5 months ago
  • 🇮🇳India sarwan_verma

    Hi @drupalnesia,

    I have resolved the Drupal 10 installation issue and attached a patch.
    Kindly review and verify. Thanks!.

  • Status changed to Closed: works as designed 5 months ago
  • 🇫🇮Finland sokru

    You need to change your root composer.json "minimum-stability" to "beta" in order to install this module.

Production build 0.71.5 2024