2017-11-19 12 views
0

명령 내가이 문제 얻을 "작곡가 설치"를 실행하는 동안 :작곡가 실패 설치 : 반응/HTTP는 DEV-마스터 소켓/반응 요구

$ composer install 
Loading composer repositories with package information 
Updating dependencies (including require-dev) 
Your requirements could not be resolved to an installable set of packages. 

Problem 1 
- Installation request for react/http dev-master#cd15204bd15d106d7832c680e4fb0ca0ce2f5e30 -> satisfiable by react/http[dev-master]. 
- react/http dev-master requires react/socket ^1.0 || ^0.8.3 -> satisfiable by react/socket[v0.8.3, v0.8.4, v0.8.5, v0.8.6] but these conflict with your requirements or minimum-stability. 
Problem 2 
- react/http dev-master requires react/socket ^1.0 || ^0.8.3 -> satisfiable by react/socket[v0.8.3, v0.8.4, v0.8.5, v0.8.6] but these conflict with your requirements or minimum-stability. 
- php-pm/php-pm dev-master requires react/http dev-master#cd15204bd15d106d7832c680e4fb0ca0ce2f5e30 -> satisfiable by react/http[dev-master]. 
- Installation request for php-pm/php-pm dev-master -> satisfiable by php-pm/php-pm[dev-master]. 

used composer.json

시스템 :

Distributor ID: Raspbian 
Description: Raspbian GNU/Linux 9.1 (stretch) 
Release:  9.1 
Codename:  stretch 

아무도이 문제를 해결하는 방법을 알고 있습니까? Thx 당신의 도움.

답변

0

당신의 composer.json

  • 는 예를 들어

(그들이 사용할 수있는 경우 여전히 안정적인 패키지로 끌어) prefer-stabletrue에 설정 dev

  • minimum-stability을 낮추는 방법으로 조정 해보십시오 :

    { 
        "minimum-stability": "dev", 
        "prefer-stable": true 
    } 
    

    다음과 같이 실행 : 참고로

    $ composer require react/http:dev-master --update-with-dependencies 
    

    은 다음을 참조하십시오

  • +0

    불행하게도,이 내 문제를 해결하지 않았다. – roombahacker

    +0

    @roombahacker 위의'composer.json'을 어떻게 공유합니까? – localheinz

    +0

    죄송합니다. 의견이 어떻게 작동 하는지를 배워야했습니다 ... './composer.json을 원래 내용으로 되 돌리십시오. ' [my composer.json] (https://static.vvcc.de/2017/composer .json) – roombahacker