投稿日: 2025-03-11 (火)
|
はい、以下エラーログです。
- Installing phpunit/php-code-coverage (11.0.9): Extracting archive - Installing phar-io/version (3.2.1): Extracting archive - Installing phar-io/manifest (2.0.4): Extracting archive - Installing myclabs/deep-copy (1.13.0): Extracting archive - Installing phpunit/phpunit (11.5.12): Extracting archive 75/110 [===================>--------] 68% Install of fakerphp/faker failed Install of nesbot/carbon failed Install of league/commonmark failed Install of laravel/framework failed Install of nikic/php-parser failed Install of psy/psysh failed Install of hamcrest/hamcrest-php failed Install of mockery/mockery failed Install of nunomaduro/collision failed Install of staabm/side-effects-detector failed The following exception is caused by a process timeout Check https://getcomposer.org/doc/06-config.md#process-timeout for details In Process.php line 1205: The process "'/usr/bin/unzip' '-qq' '/var/www/html/vendor/composer/tmp-66a0b2763cea71fa98eb7d070e81d14b.zip' '-d' '/var/www/html/vendor/composer/8394fa14'" exceeded the timeout of 300 seconds.
https://qiita.com/yassyjk/items/a87dfb19bb0f01f31d11#%E3%82%A8%E3%83%A9%E3%83%BC%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC%E3%82%B8 [サムネイル添付]
!function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f.
上記のyassyjkさんの記事でも同様なエラーが発生しているように見られます。
まず、これの原因は「タイムアウト」です。
つまり、インストールに時間がかかり、一定時間経つとComposerは終了する仕様があるよう。
標準ではタイムアウトするまでの時間は5分(300秒)と設定されている模様です。
なので10分(600秒)に変更してしまいましょう。
export COMPOSER_PROCESS_TIMEOUT=600
上記を実行することでComposerの処理時間を引き上げることができます。
600でも無理なら900、1200と上げていきましょう。
https://www.ninton.co.jp/archives/6314 [サムネイル添付]
img:is([sizes="auto" i], [sizes^="auto," i]) { contain-intrinsic-size: 3000px 1500px
コメントはありません。 Comments/おい、Composer、どうしちまったんだよ!
キーワード: 情報技術, PHP, Laravel, Composer, タイムアウト, timeout, エラー