Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

140
Views
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 answers
Answer question

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 Report

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!