> 개발 도구 > composer > 본문

명령을 실행할 때 작곡가가 'Killed' 메시지를 표시하면 어떻게 되나요?

藏色散人
풀어 주다: 2021-10-18 16:42:42
앞으로
2300명이 탐색했습니다.

이 글은 composer튜토리얼 칼럼에서 잠시후에 Composer require 실행 시 "Killed" 문제를 소개하기 위해 작성되었습니다. 필요한 친구들에게 도움이 되었으면 좋겠습니다!

특정 문제:

composer require를 실행하면 잠시 후 "Killed" 메시지가 표시됩니다.

composer require voku/simple_html_dom -vvv
Reading ./composer.json
Loading config file ./composer.json
Checked CA file /etc/pki/tls/certs/ca-bundle.crt: valid
Failed to initialize global composer: Composer could not find the config file: /home/admin/.composer/composer.json
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
Reading /home/wwwroot/vendor/composer/installed.json
Loading plugin EasyWeChatComposer\Plugin
Loading plugin think\composer\Plugin
Running 1.7.2 (2018-08-16 16:57:12) with PHP 7.1.18 on Linux / 2.6.32-696.16.1.el6.x86_64
Downloading https://repo.packagist.org/packages.json
Writing /home/admin/.composer/cache/repo/https---repo.packagist.org/packages.json into cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2013.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2014.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2015.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2016.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2017.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2018.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2019-01.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2019-04.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2019-07.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2019-10.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-archived.json from cache
Downloading http://repo.packagist.org/p/provider-latest%24502b160e3dcbe13f8c125df618d18632ebbad2402f1e07d96e00bf46c3da14ac.json
Writing /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-latest.json into cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-voku$simple-html-dom.json from cache
Using version ^4.7 for voku/simple_html_dom
./composer.json has been updated
Reading ./composer.json
Loading config file ./composer.json
Failed to initialize global composer: Composer could not find the config file: /home/admin/.composer/composer.json
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
Reading /home/wwwroot/vendor/composer/installed.json
Loading plugin EasyWeChatComposer\Plugin_composer_tmp0
Loading plugin think\composer\Plugin_composer_tmp1
Reading ./composer.lock
Loading composer repositories with package information
Downloading https://repo.packagist.org/packages.json
Writing /home/admin/.composer/cache/repo/https---repo.packagist.org/packages.json into cache
Updating dependencies (including require-dev)
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2013.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2014.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2015.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2016.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2017.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2018.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2019-01.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2019-04.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2019-07.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2019-10.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-archived.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-latest.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-adbario$php-dot-notation.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-clagiordano$weblibs-configmanager.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-danielstjules$stringy.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-guzzlehttp$guzzle.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-mtdowling$jmespath.php.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-alibabacloud$client.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-mbstring.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-guzzlehttp$psr7.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-guzzlehttp$promises.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-psr$http-message.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-ralouphie$getallheaders.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-aliyuncs$oss-sdk-php.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$cache.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-easywechat-composer$easywechat-composer.json from cache
Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$options-resolver.json from cache
로그인 후 복사

해결 방법:

일반적으로 메모리가 부족하면 프로세스가 종료됩니다.

물리적 메모리를 늘릴 수 없다면 스왑 파티션 확장을 고려해 보세요.

참고 사항은 다음과 같습니다.

composer는 현재 메모리가 부족하여 설치 또는 업데이트 시 종료 오류를 표시합니다.

명령을 실행할 때 작곡가가 Killed 메시지를 표시하면 어떻게 되나요?

rreee

위 내용은 명령을 실행할 때 작곡가가 'Killed' 메시지를 표시하면 어떻게 되나요?의 상세 내용입니다. 자세한 내용은 PHP 중국어 웹사이트의 기타 관련 기사를 참조하세요!

관련 라벨:
원천:jianshu.com
본 웹사이트의 성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
인기 튜토리얼
더>
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿
회사 소개 부인 성명 Sitemap
PHP 중국어 웹사이트:공공복지 온라인 PHP 교육,PHP 학습자의 빠른 성장을 도와주세요!