Composer install on D11

Created on 20 March 2025, 18 days ago

Problem/Motivation

I am trying to install on a new D11.1.4 site on PHP 8.3.17, but composer generates an error stating:
require drupal/core ^8 || ^9 || ^10 -> found drupal/core[8.0.0, ..., 8.9.20, 9.0.0, ..., 9.5.11, 10.0.0, ..., 10.4.5] but the package is fixed to 11.1.4

composer require 'drupal/back_to_top:^3.0'

 Problem 1
    - Root composer.json requires drupal/back_to_top ^3.0 -> satisfiable by drupal/back_to_top[3.0.0, 3.0.1, 3.0.2].
    - drupal/back_to_top[3.0.0, ..., 3.0.2] require drupal/core ^8 || ^9 || ^10 -> found drupal/core[8.0.0, ..., 8.9.20, 9.0.0, ..., 9.5.11, 10.0.0, ..., 10.4.5] but the package is fixed to 11.1.4 (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.
πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom ice70

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

Comments & Activities

Production build 0.71.5 2024