Giter Site home page Giter Site logo

Script Google\Task\Composer::cleanup handling the pre-autoload-dump event terminated with an exception about google-api-php-client HOT 2 CLOSED

bjsapkota1313 avatar bjsapkota1313 commented on August 28, 2024
Script Google\Task\Composer::cleanup handling the pre-autoload-dump event terminated with an exception

from google-api-php-client.

Comments (2)

bshaffer avatar bshaffer commented on August 28, 2024 1

See #2532

@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.

from google-api-php-client.

bshaffer avatar bshaffer commented on August 28, 2024

Closing due to inactivity. Please open a new issue if this continues to be a problem

from google-api-php-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.