Module wont install with composer on clean Drupal 9.3.6 with PHP 8

Created on 3 March 2022, over 2 years ago
Updated 5 October 2024, about 2 months ago

Problem/Motivation

Ive installed a clean Drupal 9.3.6 (with PHP 8) and I can no longer install this module. This was not a problem with my last install on Drupal 9.3.3 with PHP 7.

bash-5.1# composer require 'drupal/bootstrap_paragraphs:^2.0@beta'
./composer.json has been updated
Running composer update drupal/bootstrap_paragraphs
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - drupal/bootstrap_paragraphs 2.0.0-beta7 requires drupal/viewsreference * -> satisfiable by drupal/viewsreference[1.0.0, ..., 1.7.0].
    - drupal/bootstrap_paragraphs[2.0.0-beta1, ..., 2.0.0-beta6] require drupal/core ^8 -> found drupal/core[8.0.0, ..., 8.9.20] but the package is fixed to 9.3.6 (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/viewsreference[1.3.0, ..., 1.7.0] require php ^5.5|^7.0 -> your php version (8.1.3) does not satisfy that requirement.
    - drupal/viewsreference[1.0.0, ..., 1.4.0] require drupal/core ~8.0 -> found drupal/core[8.0.0, ..., 8.9.20] but the package is fixed to 9.3.6 (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/viewsreference[1.5.0, ..., 1.6.0] require drupal/core ^8.6 -> found drupal/core[8.6.0, ..., 8.9.20] but the package is fixed to 9.3.6 (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.
    - Root composer.json requires drupal/bootstrap_paragraphs ^2.0@beta -> satisfiable by drupal/bootstrap_paragraphs[2.0.0-beta1, ..., 2.0.0-beta7].

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.

Steps to reproduce

Install with composer. See above.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: cannot reproduce

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom Syntapse

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024