composer install killed

David Carr

1 min read - 22nd May, 2020

If you eve run composer install and terminal hands and then shows killed it means the server does not have enough memory to install the packages, this is common if you do not have a composer.lock file in the repository.

IF you do not have a composer.lock file in your respositoy then should:

ensure compoer.lock is not in a .gitignore file Run composer install in a local environment (either your local physical machine, or a development virtual machine)

With the updated composer.lock file commit the file and push it to your repository.

Then on the server git pull and then you should be able to do a composer install using the same versions as you've done locally.

0 comments
Add a comment

Copyright © 2006 - 2024 DC Blog - All rights reserved.