Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

142
Vistas
Composer install/update not working

I have a problem with Composer Package Manager. System is Ubuntu 12.04. I just can't make it work. I pulled my git project and try to run 'composer install', but it seems that nothing actually happens. I just get an information

Installing dependencies (including require-dev)

then nothing actually happens. This is my log from this command run with -vvv parameter:

here

Does anyone have any idea what can be wrong ? I tried to clear cache, it did not help. I am sure this repo works well as I pulled it to my Windows machine and it downloaded everything just fine. 'composer diagnose' also returned OK. Thanks for any tips.

over 4 years ago · Santiago Trujillo
3 Respuestas
Responde la pregunta

0

In first place You should try clearing composer cache.

rm -rf ~/.composer/cache

But more probably it's issue connected with available memory. Increasing memory_limit should help.

over 4 years ago · Santiago Trujillo Denunciar

0

Try to view a verbose report:

composer install -vvv

or:

composer update -vvv

If last line shows that process is killed, you need to increase your swap memory:

sudo dd if=/dev/zero of=/swapfile bs=1024 count=512k
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
swapon -s

if it continues killing the process, you need to increase 512k to 1024k or maybe 2048k

over 4 years ago · Santiago Trujillo Denunciar

0

Try with this one and make sure that the composer.json file exist in your project directory.

COMPOSER=composer.json composer update 
over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda