anonymouse703's avatar

Install of google/apiclient-services failed

If you are using docker in development and encountered error like this


In Filesystem.php line 314:
                                                                               
  Could not delete /var/www/admin-backend/vendor/composer/0cbe9c29/googleapis  
  -google-api-php-client-services-5088cb7/src/OnDemandScanning:                
                                                                         

Solution:

In your composer.json just add the following "process-timeout": 1200,

in the config

  "config": {
        "optimize-autoloader": true,
        "preferred-install": "dist",
        "sort-packages": true,
         "process-timeout": 1200,
        "allow-plugins": {
            "pestphp/pest-plugin": true,
            "php-http/discovery": true
        }
    },
0 likes
0 replies

Please or to participate in this conversation.