Composer killed while updating

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

    Here's how I succeeded in installing maatwebsite\excel package from composer in Laravel Framework:

    1. I download composer.json file and composer.lock file from my remote server.
    2. I run composer update from local command prompt (then wait until all the install process finished).
    3. Upload composer.lock file to remote server.
    4. run composer install on remote server (then wait until all process finished).
    5. DONE

提交回复
热议问题