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.

Comments

larowlan’s picture

Category: Bug report » Support request
Status: Active » Needs review

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

jpshayes’s picture

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'
mglaman’s picture

Status: Needs review » Closed (works as designed)

Closing. The issue is jsonapi_resources. I've opened #3428278: Release 1.0 to get a stable release out.