Composer stuck on Updating dependencies Fixed

    By: Manu
    3 years ago

    You should try this

    //Installation
    
    COMPOSER_MEMORY_LIMIT=-1 composer install -vvv
    
    //Updating 
    
    COMPOSER_MEMORY_LIMIT=-1 composer update -vvv
    
    -vvv will display progress.
    

    Add "-vvv" at the end to running command in verbose mode and it will display what files are being downloaded.

    Add ''COMPOSER_MEMORY_LIMIT=-1" so command won't run out of ram.

    Hope it helped