Estou estudando para subir a minha aplicação em PHP/Symfony no Heroku. Já consegui configurar uma aplicação simples do zero, mas quando tento subir uma aplicação que já existe aparece o seguir erro:
WARNING: A Composer script terminated with an exception
ERROR: Dependency installation failed!
The 'composer install' process failed with an error. The cause may be the download or installation of packages, or a pre- or post-install hook (e.g. a 'post-install-cmd' item in 'scripts') on your 'composer.json'.
Typical error cases are out-of-date or missing parts of code, timeouts when making external connections, or memory limits.
Check the above error output closely to determine the cause of the problem, ensure the code you're pushing is functioning properly, and that all local changes are committed correctly.
For more information on builds for PHP on Heroku, refer to https://devcenter.heroku.com/articles/php-support
REMINDER: the following warnings were emitted during the build; check the details above, as they may be related to this error:
- A Composer script terminated with an exception
Já procurei em vários lugares a solução, mas nada funciona no meu caso.