Composer killed while updating

后端 未结 16 1936
野性不改
野性不改 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:58

    Solved on Laravel/Homestead (Vagrant Windows)

    1. Edit Homestead.yaml and increase memory from 2048 to 4096

    2. vagrant up

    3. vagrant ssh

    4. Install Symfony with this line on the folder you choose (must be without files)

      COMPOSER_MEMORY_LIMIT=-1 composer create-project symfony/website-skeleton . -s dev
      

提交回复
热议问题