Question
Running 'composer update' hangs
I’ve got a Laravel based project that I’m updating to version 5.6.
To do so I need to update some PHP packages with composer.
When I run ‘composer update’ after making the changes to composer.json, it just hangs - nothing else prints and the command does not complete.
So far ony my most recent run it’s been 20 mins and no response. Usually it takes under 1 minute, and gives feedback immediately.
I’ve had a similar problem very rarely before where there was not enough memory available and I had to create a swap file. I checked, and the swap file is still there and has 2+ GB of space free.
Any other suggestions?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×