Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Applying patch timeout #12

Open
marcelaerts opened this issue Nov 5, 2022 · 3 comments
Open

Applying patch timeout #12

marcelaerts opened this issue Nov 5, 2022 · 3 comments

Comments

@marcelaerts
Copy link

On macOS Ventura the patches throws an error during "composer install"

The process “patch ‘-p0’ --no-backup-if-mismatch -N -d ‘/Users/example/Sites/concretecms-blackbox/vendor/anahkiasen/html-object’ -i ‘/Users/example/Sites/concretecms-blackbox/vendor/concretecms/dependency-patches/anahkiasen/html-object/php8.1-compatibility.patch’ -r ‘/private/var/folders/m1/787nb63j6cg2960px_d1xytm0000gn/T/PCHjEk9km/2.rej’ --dry-run” exceeded the timeout of 300 seconds.

My MAC is completely updated with the latest version of Brew, PHP etc. The error only started after removing the composer cache (composer clear-cache). I'm afraid the same will happen on a live server. Anyone have a solution?

@hissy
Copy link

hissy commented Nov 6, 2022

Timeout happened when I ran composer install with Concrete CMS 9.1.3.
composer update solved the problem for me.

@marcelaerts
Copy link
Author

This did not work for me. Installing gpatch solved it:
https://formulae.brew.sh/formula/gpatch

@KorvinSzanto
Copy link
Member

See mlocati/composer-patcher#13 for more info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants