Skip to content

Instantly share code, notes, and snippets.

@ederrafo
Created August 17, 2023 16:42
Show Gist options
  • Save ederrafo/8e6954916a6a9a6af6ab2dc6c40869f1 to your computer and use it in GitHub Desktop.
Save ederrafo/8e6954916a6a9a6af6ab2dc6c40869f1 to your computer and use it in GitHub Desktop.
composer

Error

[Symfony\Component\Process\Exception\ProcessTimedOutException]
The process "git clone --mirror -- 'https://github.com/sebastianbergmann/phpunit.git' '/root/.cache/composer/vcs/https---github.com-sebastianbergmann-phpunit.git/'" exceed
ed the timeout of 300 seconds.

solution:

Altough the timeout option does not exist, this is a timeout from composer and it can be extended by:

$ export COMPOSER_PROCESS_TIMEOUT=600
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment