Help us understand the problem. What is going on with this article?

composerでタイムアウトが発生する問題

More than 1 year has passed since last update.

composerのタイムアウトはデフォルトで300秒になっています。

$ composer start
> php -f example.php

  [Symfony\Component\Process\Exception\ProcessTimedOutException]              
  The process "php -f example.php" exceeded the timeout of 300 seconds.  


start [--dev] [--no-dev] [--] [<args>]...

composer.jsonに以下の設定を追記することで、タイムアウトの秒数を変更できます。

composer.json
"config": {
    "process-timeout": 0
},

※ 0にすると無制限です。

YuK1Game
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away