Composer killed while updating

后端 未结 16 1967
野性不改
野性不改 2020-11-28 19:40

I got a problem, I tried to install a new package to my Laravel 4 project. But when I run php composer.phar update I get this:

Loading composer          


        
16条回答
  •  甜味超标
    2020-11-28 19:56

    I've got this error when I ran composer install inside my PHP DOCKER container, It's a memory issue. Solved by increasing SWAP memory in DOCKER PREFERENCES from 512MB to 1.5GB

    To do that:

    Docker -> Preferences -> Rousources

提交回复
热议问题