Installation issue with composer - drupal version 10.1.5

Created on 19 October 2023, over 1 year ago
Updated 15 March 2024, 10 months ago

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

Problem 1
- drupal/jsonapi_menu_items[1.2.0, ..., 1.2.3] require drupal/core ^8.8 || ^9 -> found drupal/core[8.8.0, ..., 8.9.20, 9.0.0, ..., 9.5.11] but the package is fixed to 10.1.5 (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/jsonapi_menu_items 1.2.4 requires drupal/jsonapi_resources ^1.0 -> found drupal/jsonapi_resources[dev-1.x, 1.0.0-beta1, ..., 1.x-dev (alias of dev-1.x)] but it does not match your minimum-stability.
- Root composer.json requires drupal/jsonapi_menu_items ^1.2 -> satisfiable by drupal/jsonapi_menu_items[1.2.0, 1.2.1, 1.2.3, 1.2.4].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

💬 Support request
Status

Closed: works as designed

Version

1.2

Component

Code

Created by

🇮🇳India Ankush_03 Gurgaon, India 🇮🇳

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

Comments & Activities

  • Issue created by @Ankush_03
  • Status changed to Needs review over 1 year ago
  • 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10

    drupal/jsonapi_resources[dev-1.x, 1.0.0-beta1, ..., 1.x-dev (alias of dev-1.x)] but it does not match your minimum-stability.

    Json API resources doesn't have a stable release and your minimum stability is preventing it from being installed

    If you composer require it on its own it should work

  • 🇺🇸United States jpshayes

    As of the current date, the recommended version of drupal/jsonapi_resources is 8.x-1.0-beta5. This is important to note because drupal/jsonapi_menu_items version 1.2.4 depends on drupal/jsonapi_resources.

    Given that drupal/jsonapi_resources does not yet have a stable release, it's necessary to install this dependency separately to avoid conflicts with the minimum-stability setting in your composer.json.

    composer require 'drupal/jsonapi_resources:8.x-1.0-beta5'
    
    composer require 'drupal/jsonapi_menu_items:^1.2'
    
  • Status changed to Closed: works as designed 10 months ago
  • 🇺🇸United States mglaman WI, USA

    Closing. The issue is jsonapi_resources. I've opened 🌱 Release 1.0 Active to get a stable release out.

Production build 0.71.5 2024