- Issue created by @Claudia Sotto
- πΊπΈUnited States lhridley
Additional information:
Tried to install
calendar
with Drupal 10.1 using composer version 2.5.1 (php 8.1) as follows:composer require drupal/calendar:^1.0@BETA
Got the following message:
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires drupal/calendar ^1.0@BETA -> satisfiable by drupal/calendar[1.0.0-beta1]. - drupal/calendar 1.0.0-beta1 requires drupal/calendar_datetime * -> found drupal/calendar_datetime[dev-1.x, 1.0.0-alpha1, ..., 1.x-dev (alias of dev-1.x)] but it does not match your minimum-stability.
calendar_datetime
is a submodule ofcalendar
, and no separate project calleddrupal/calendar_datetime
exists that I can locate. I dot not see an explicit dependency in the composer.json file for the project, the only place I can locate a dependency in the module code is incalendar.info.yml
In any case, this prevents installing the module with composer.
- πΊπΈUnited States Gorf
10.1.6 and I wanted to confirm that I had the same issue here but simply altering my "minimum-stability" to be "dev" allows for the install.
- π§π·Brazil Claudia Sotto
"minimum-stability": "dev" worked for me. Thanks!
- thakurnishant_06 India
The error you're encountering is likely due to the fact that the minimum stability set in your Composer configuration is "stable". Since the module is still in development and a stable version hasn't been released yet, Composer is unable to resolve the dependencies properly.
To quickly address this error, you can adjust the minimum stability setting in your Composer configuration to "dev". This change will allow Composer to install modules that are in the development stage.