Cannot install on Drupal 11.0.1

Created on 20 August 2024, 4 months ago
Updated 30 August 2024, 4 months ago

Problem/Motivation

Trying to install jquery_ui_datepicker for drupal 11.0.1 but it fails
due to composer dependency.

Steps to reproduce

$ composer require 'drupal/jquery_ui_datepicker:^2.1'
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]?
./composer.json has been updated
Running composer update drupal/jquery_ui_datepicker
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/jquery_ui_datepicker ^2.1 -> satisfiable by drupal/jquery_ui_datepicker[2.1.0].
    - drupal/jquery_ui_datepicker 2.1.0 requires drupal/core ^9.2 || ^10 || 11 -> found drupal/core[9.2.0, ..., 9.5.11, 10.0.0, ..., 10.3.2, 11.0.0] but the package is fixed to 11.0.1 (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.

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.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: duplicate

Version

2.1

Component

Code

Created by

🇮🇳India yasheshb

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

Comments & Activities

Production build 0.71.5 2024