Composer is unable to apply patches.

Created on 3 March 2023, almost 2 years ago
Updated 8 July 2023, over 1 year ago

Greetings everyone,

I have been encountering an issue for the past few weeks while running composer install or composer update on any local site. The problem is that it gets stuck during the patch application process, and each patch takes approximately 300 seconds before ultimately resulting in an error.

Specifically, in Drupal, the composer is not applying patches, and the error message that appears is:

composer in Drupal is not applying patches, it take about 300s and then give error Could not apply patch! Skipping. The error was: The process "patch '-p1' --no-backup-if-mismatch -d 'web/core' < '/var/folders/gt/_gk3ty9s5yxg5pb36z5k6nl40000gn/T/6401965dd62d8.patch'" exceeded the timeout of 300 seconds.

This error occurs repeatedly as each patch is attempted, and I suspect it to be related to Composer. Although the error is not specific to any particular project, I would greatly appreciate any assistance that can be provided to resolve the issue.

πŸ’¬ Support request
Status

Closed: outdated

Version

9.5

Component
BaseΒ  β†’

Last updated 24 minutes ago

Created by

πŸ‡΅πŸ‡°Pakistan masood ahmad

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

Comments & Activities

Production build 0.71.5 2024