You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!
The text was updated successfully, but these errors were encountered:
bjsapkota1313
changed the title
Pre Auto Load Dump Not working
Script Google\Task\Composer::cleanup handling the pre-autoload-dump event terminated with an exception
Dec 14, 2023
@bjsapkota1313 I am updating the README to contain more info on how to debug the error. Can you follow these instructions and let me know if it fixes your problem? Here are the instructions:
If you see the following error, it's because you need to increase your composer process timeout:
Script Google\Task\Composer::cleanup handling the pre-autoload-dump event terminated with an exception
In Filesystem.php line 200:
Failed to remove directory "(/path/to/vendor/google/apiclient-services/src/...": rmdir(/path/to/...): Text file busy
Either increase the timeout for composer by adding the env flag as COMPOSER_PROCESS_TIMEOUT=600 composer install,
or put this in the config section of the composer schema:
{
"config": {
"process-timeout": 600
}
}
This happens because there are a LOT of Google services which are downloaded as part of this package, and it can
unfortunately take so long that composer's default of 300 seconds times out.
Environment details
Steps to reproduce
Code example
# example
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!
The text was updated successfully, but these errors were encountered: