Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to solve the problem of executing composer throwing Killed

Shulou Source: shulou.com Published: 2022-06-02 15:04:52 11月14日 Update

Editor to share with you how to solve the problem of implementing composer throwing Killed. I hope you will get something after reading this article. Let's discuss it together.

1. Error report as follows: root@test2:/work/usrc$ composer require qcloud/cos-sdk-v5./composer.json has been updatedThe "extra.asset-installer-paths" option is deprecated, use the "config.fxp-asset.installer-paths" optionLoading composer repositories with package informationUpdating dependencies (including require-dev) Killed2, solution

This is mostly due to insufficient caching, and caching solutions can be added in the linux environment.

Free-mmkdir-p / var/_swap_cd / var/_swap_dd if=/dev/zero of=swapfile bs=1M count=2000mkswap swapfileswapon swapfileecho "/ var/_swap_/swapfile none swap sw 00" > > / etc/fstabfree-m after reading this article, I believe you have a certain understanding of "how to solve the problem of implementing composer throwing Killed". If you want to know more about it, welcome to follow the industry information channel, thank you for reading!

Tags: Questions articles caching methods reasons done more environment knowledge industry information information channels channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn OPPO Reno Apple Microsoft Docker