cannot install drush via composer since there is error on applying patches

Created on 9 April 2024, 3 months ago

composer require drush/drush
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
./composer.json has been updated
Running composer update drush/drush
Removing package drupal/core so that it can be re-installed and re-patched.
- Removing drupal/core (10.2.4)
Deleting /var/www/html/droopler_project/web/core - deleted
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
No patches supplied.
Gathering patches for dependencies. This might take a minute.
- Installing drupal/core (10.2.4): Extracting archive
- Applying patches for drupal/core
https://git.drupalcode.org/project/drupal/-/merge_requests/5376.patch (Claro - vertical tabs overflow)
Could not apply patch! Skipping. The error was: Cannot apply patch https://git.drupalcode.org/project/drupal/-/merge_requests/5376.patch
https://www.drupal.org/files/issues/2023-01-25/3145188-37_0.patch β†’ (Claro - paragraphs overflow)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2023-01-25/3145188-37_0.patch β†’

Package sebastian/resource-operations is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
97 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
phpstan/extension-installer: Extensions installed
Package drupal/core has scaffold operations, and is already allowed in the root-level composer.json file.
Failed to audit installed packages.
Using version ^12.5 for drush/drush

composer does not install the drush

πŸ’¬ Support request
Status

Active

Version

4.0

Component

Miscellaneous

Created by

πŸ‡¦πŸ‡ΊAustralia jjwfcd

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

Comments & Activities

Production build 0.69.0 2024