Q&A
実現したいこと
ここに実現したいことを箇条書きで書いてください。
- composer_installで発生するエラーを解消したい
前提
Symfony3.4.35
PHP 7.1.0
Composer 2.2.9
環境構築時のエラー
発生している問題・エラーメッセージ
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`. Dependency resolution completed in 0.004 seconds Nothing to install, update or remove Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead. Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested. Package patchwork/jsqueeze is abandoned, you should avoid using it. No replacement was suggested. Package sensio/distribution-bundle is abandoned, you should avoid using it. No replacement was suggested. Package sensio/generator-bundle is abandoned, you should avoid using it. Use symfony/maker-bundle instead. Package symfony/assetic-bundle is abandoned, you should avoid using it. Use symfony/webpack-encore-pack instead. Package zendframework/zend-code is abandoned, you should avoid using it. Use laminas/laminas-code instead. Package zendframework/zend-eventmanager is abandoned, you should avoid using it. Use laminas/laminas-eventmanager instead. Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested. Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested. Generating autoload files > post-autoload-dump: PackageVersions\Installer->dumpVersionsClass composer/package-versions-deprecated: Generating version class... composer/package-versions-deprecated: ...done generating version class 1 package you are using is looking for funding. Use the `composer fund` command to find out more! > post-install-cmd: @symfony-build-bootstrap > symfony-build-bootstrap: Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap handling the symfony-build-bootstrap event terminated with an exception [Symfony\Component\Process\Exception\ProcessTimedOutException] The process "'/usr/local/bin/php' '/var/www/argama/argama_staff/vendor/sensio/distribution-bundle/Composer/../Resources/bin/build_bootstrap.php' 'var' 'app' '--use-new-directory-structure'" exceeded the timeout of 300 seconds. Exception trace: () at phar:///usr/local/bin/composer/vendor/symfony/process/Process.php:1193 Symfony\Component\Process\Process->checkTimeout() at phar:///usr/local/bin/composer/vendor/symfony/process/Process.php:356 Symfony\Component\Process\Process->wait() at phar:///usr/local/bin/composer/vendor/symfony/process/Process.php:198 Symfony\Component\Process\Process->run() at /var/www/argama/argama_staff/vendor/sensio/distribution-bundle/Composer/ScriptHandler.php:311 Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::executeBuildBootstrap() at /var/www/argama/argama_staff/vendor/sensio/distribution-bundle/Composer/ScriptHandler.php:88 Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap() at phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:341 Composer\EventDispatcher\EventDispatcher->executeEventPhpScript() at phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:220 Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:87 Composer\EventDispatcher\EventDispatcher->dispatch() at phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:200 Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:102 Composer\EventDispatcher\EventDispatcher->dispatchScript() at phar:///usr/local/bin/composer/src/Composer/Installer.php:341 Composer\Installer->run() at phar:///usr/local/bin/composer/src/Composer/Command/InstallCommand.php:136 Composer\Command\InstallCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:245 Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:835 Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:185 Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:310 Composer\Console\Application->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:117 Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:122 Composer\Console\Application->run() at phar:///usr/local/bin/composer/bin/composer:63 require() at /usr/local/bin/composer:24 install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-scripts] [--no-progress] [--no-install] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>]...
試したこと
the timeout of 300 secondsと記載があったので、
config.jsonに
"process-timeout": 0
を追加したのですが、特に変化無し
何かわかる方、ご指導いただきたいです。
下記のような回答は推奨されていません。
このような回答には修正を依頼しましょう。