Closed (fixed)
Project:
Guardr Core
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2022 at 19:50 UTC
Updated:
6 Sep 2022 at 02:44 UTC
Jump to comment: Most recent
drupal/recommended-project uses "minimum-stability: stable"
https://github.com/drupal/recommended-project/blob/9.1.8/composer.json#L26
guardr_core cannot be composer required yet with this setting
`composer create-project drupal/recommended-project guardr-compatibility`
`cd guardr-compatibility/`
`composer require drupal/guardr_core`
shows the following error:
Using version ^2.0 for drupal/guardr_core
./composer.json has been updated
Running composer update drupal/guardr_core
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- drupal/guardr_core 2.0.0 requires drupal/session_limit ^1.0 -> found drupal/session_limit[dev-1.x, 1.0.0-beta1, 1.0.0-beta2, 1.0.0-beta3, 1.x-dev (alias of dev-1.x)] but it does not match your minimum-stability.
- drupal/guardr_core 2.0.1 requires drupal/session_limit ^2.0.0 -> found drupal/session_limit[dev-2.x, 2.0.0-beta1, 2.0.0-beta2, 2.x-dev (alias of dev-2.x)] but it does not match your minimum-stability.
- Root composer.json requires drupal/guardr_core ^2.0 -> satisfiable by drupal/guardr_core[2.0.0, 2.0.1].
You can also try re-running composer require with an explicit version constraint, e.g. "composer require drupal/guardr_core:*" to figure out if any version is installable, or "composer require drupal/guardr_core:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
https://www.drupal.org/project/session_limit/releases/2.0.0-beta2 suggests
composer require 'drupal/session_limit:^2.0@beta'
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
joestewart commentedComment #4
philosurfer commentedIt seems the module maintainers have not touched this since last year to get a 2.x release, as there are 5 RTBCs on the queue for session_limit.
I tested patch and it now successfully installs guardr_core
Comment #6
shrop commentedComment #7
shrop commentedThanks Joe and philosurfer!