2017-02-20 7 views
1

다음 명령을 통해 내 Lumen 프로젝트에 lumen-passport을 추가하려고합니다. composer require dusterio/lumen-passportilluminate/auth 버전으로 인해 정지 중입니다. 내가 composer show작곡가 : Laravel/passport에는 illuminate/auth ~ 5.3. *이 필요하지만 v5.2.45에 잠김.

doctrine/inflector    v1.1.0 Common String Manipulations with regard to casing and singular/plural ru... 
doctrine/instantiator    1.0.5 A small, lightweight utility to instantiate objects in PHP without invok... 
fzaninotto/faker     v1.6.0 Faker is a PHP library that generates fake data for you. 
illuminate/auth     v5.2.45 The Illuminate Auth package. 
illuminate/broadcasting   v5.2.45 The Illuminate Broadcasting package. 
illuminate/bus     v5.2.45 The Illuminate Bus package. 
illuminate/cache     v5.2.45 The Illuminate Cache package. 
illuminate/config     v5.2.45 The Illuminate Config package. 
illuminate/console    v5.2.45 The Illuminate Console package. 
illuminate/container    v5.2.45 The Illuminate Container package. 
illuminate/contracts    v5.2.45 The Illuminate Contracts package. 
illuminate/database    v5.2.45 The Illuminate Database package. 
illuminate/encryption    v5.2.45 The Illuminate Encryption package. 
illuminate/events     v5.2.45 The Illuminate Events package. 
illuminate/filesystem    v5.2.45 The Illuminate Filesystem package. 
illuminate/hashing    v5.2.45 The Illuminate Hashing package. 
illuminate/http     v5.2.45 The Illuminate Http package. 
illuminate/pagination    v5.2.45 The Illuminate Pagination package. 
illuminate/pipeline    v5.2.45 The Illuminate Pipeline package. 
illuminate/queue     v5.2.45 The Illuminate Queue package. 
illuminate/session    v5.2.45 The Illuminate Session package. 
illuminate/support    v5.2.45 The Illuminate Support package. 
illuminate/translation   v5.2.45 The Illuminate Translation package. 
illuminate/validation    v5.2.45 The Illuminate Validation package. 
illuminate/view     v5.2.45 The Illuminate View package. 
laravel/lumen-framework   v5.2.9 The Laravel Lumen Framework. 
monolog/monolog     1.22.0 Sends your logs to files, sockets, inboxes, databases and various web se... 
mtdowling/cron-expression   v1.2.0 CRON for PHP: Calculate the next or previous run date and determine if a... 
nesbot/carbon      1.22.1 A simple API extension for DateTime. 
nikic/fast-route     v0.7.0 Fast request router for PHP 
paragonie/random_compat   v1.4.1 PHP 5.x polyfill for random_bytes() and random_int() from PHP 7 
phpdocumentor/reflection-common 1.0  Common reflection classes used by    phpdocumentor to reflect the code stru... 
phpdocumentor/reflection-docblock 3.1.1 With this component, a library can provide support for annotations via D... 
phpdocumentor/type-resolver  0.2.1 
phpspec/prophecy     v1.6.2 Highly opinionated mocking framework for PHP 5.3+ 
phpunit/php-code-coverage   2.2.4 Library that provides collection,  processing, and rendering functionalit... 
phpunit/php-file-iterator   1.4.2 FilterIterator implementation that filters files based on a list of suff... 
phpunit/php-text-template   1.2.1 Simple template engine. 
phpunit/php-timer     1.0.8 Utility class for timing 
phpunit/php-token-stream   1.4.9 Wrapper around PHP's tokenizer extension. 
phpunit/phpunit     4.8.35 The PHP Unit Testing framework. 
phpunit/phpunit-mock-objects  2.3.8 Mock Object library for PHPUnit 
psr/log       1.0.2 Common interface for logging libraries 
sebastian/comparator    1.2.4 Provides the functionality to compare PHP values for equality 
sebastian/diff     1.4.1 Diff implementation 
sebastian/environment    1.3.8 Provides functionality to handle HHVM/PHP environments 
sebastian/exporter    1.2.2 Provides the functionality to export PHP variables for visualization 
sebastian/global-state   1.1.1 Snapshotting of global state 
sebastian/recursion-context  1.0.2 Provides functionality to recursively process PHP variables 
sebastian/version     1.0.6 Library that helps with managing the version number of Git-hosted PHP pr... 
symfony/console     v3.0.9 Symfony Console Component 
symfony/debug      v3.0.9 Symfony Debug Component 
symfony/event-dispatcher   v3.2.4 Symfony EventDispatcher Component 
symfony/finder     v3.0.9 Symfony Finder Component 
symfony/http-foundation   v3.0.9 Symfony HttpFoundation Component 
symfony/http-kernel    v3.0.9 Symfony HttpKernel Component 
symfony/polyfill-mbstring   v1.3.0 Symfony polyfill for the Mbstring extension 
symfony/polyfill-php56   v1.3.0 Symfony polyfill backporting some PHP 5.6+ features to lower PHP versions 
symfony/polyfill-util    v1.3.0 Symfony utilities for portability of PHP codes 
symfony/process     v3.0.9 Symfony Process Component 
symfony/translation    v3.0.9 Symfony Translation Component 
symfony/yaml      v3.2.4 Symfony Yaml Component 
vlucas/phpdotenv     v2.4.0 Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SE... 
webmozart/assert     1.2.0 Assertions to validate method input/output with nice error messages. 

을 실행 그리고 마지막으로 composer.json

{ 
    "name": "laravel/lumen", 
    "description": "The Laravel Lumen Framework.", 
    "keywords": ["framework", "laravel", "lumen"], 
    "license": "MIT", 
    "type": "project", 
    "require": { 
     "php": ">=5.5.9", 
     "laravel/lumen-framework": "5.2.*", 
     "vlucas/phpdotenv": "~2.2" 
    }, 
     "require-dev": { 
     "fzaninotto/faker": "~1.4", 
     "phpunit/phpunit": "~4.0" 
    }, 
    "autoload": { 
     "psr-4": { 
      "App\\": "app/" 
     } 
    }, 
    "autoload-dev": { 
     "classmap": [ 
      "tests/", 
      "database/" 
     ] 
    } 
} 

는 내가 가진 루멘의 최신 버전은 v5.4.4를 설치할 때

Problem 1 
- Installation request for dusterio/lumen-passport ^0.1.9 -> satisfiable by dusterio/lumen-passport[0.1.9]. 
- Conclusion: remove illuminate/auth v5.2.45 
- Conclusion: don't install illuminate/auth v5.2.45 
- dusterio/lumen-passport 0.1.9 requires laravel/passport >=0.2.2 -> satisfiable by laravel/passport[v0.2.2, v0.2.3, v0.2.4, v1.0.0, v1.0.1, v1.0.10, v1.0.11, v1.0.12, v1.0.13, v1.0.14, v1.0.15, v1.0.16, v1.0.17, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9, v2.0.0, v2.0.1, v2.0.2, v2.0.3, v2.0.4]. 
- laravel/passport v0.2.2 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v0.2.3 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v0.2.4 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v1.0.0 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v1.0.1 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v1.0.10 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v1.0.11 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v1.0.12 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v1.0.13 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v1.0.14 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v1.0.15 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v1.0.16 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v1.0.17 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v1.0.2 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v1.0.3 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v1.0.4 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v1.0.5 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v1.0.6 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v1.0.7 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v1.0.8 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v1.0.9 requires illuminate/auth ~5.3 -> satisfiable by illuminate/auth[v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.9]. 
- laravel/passport v2.0.0 requires illuminate/auth ~5.4 -> satisfiable by illuminate/auth[v5.4.0, v5.4.9]. 
- laravel/passport v2.0.1 requires illuminate/auth ~5.4 -> satisfiable by illuminate/auth[v5.4.0, v5.4.9]. 
- laravel/passport v2.0.2 requires illuminate/auth ~5.4 -> satisfiable by illuminate/auth[v5.4.0, v5.4.9]. 
- laravel/passport v2.0.3 requires illuminate/auth ~5.4 -> satisfiable by illuminate/auth[v5.4.0, v5.4.9]. 
- laravel/passport v2.0.4 requires illuminate/auth ~5.4 -> satisfiable by illuminate/auth[v5.4.0, v5.4.9]. 
- Can only install one of: illuminate/auth[v5.3.0, v5.2.45]. 
- Can only install one of: illuminate/auth[v5.3.16, v5.2.45]. 
- Can only install one of: illuminate/auth[v5.3.23, v5.2.45]. 
- Can only install one of: illuminate/auth[v5.3.4, v5.2.45]. 
- Can only install one of: illuminate/auth[v5.4.0, v5.2.45]. 
- Can only install one of: illuminate/auth[v5.4.9, v5.2.45]. 
- Installation request for illuminate/auth (locked at v5.2.45) -> satisfiable by illuminate/auth[v5.2.45]. 

그리고 여기가 표시되는 것입니다. laravel/passport 종속성 문제가 아닌 것 같습니다. lumen-passport 그러나 packagist에 대한 지침은 lumen-passport이 길을 따라 붙잡혀 있다고 언급합니다.

내 버전이 illuminate/auth 인 것처럼 보이지만 composer.lock 파일이 v5.2.45로 제한되어 있기 때문에 파일을 변경하는 것이 주저하며 지나치게 진행하지 않는 것이 주저합니다. 이 종속성 문제를 해결하면 lumen-passport을 설치할 수 있습니다. 어떤 도움을 주셔서 감사합니다.

+0

'composer.json'도 추가 할 수 있습니까? –

+1

물론 아 - 추가되었습니다. – XanT

답변

1

종속성이 최신입니까? 설치된 버전을 composer show으로 확인하십시오.

lumen-passport 0.1.9laravel/passport >=0.2.2이 필요하며 적어도 illuminate/auth ~5.3 이상이 필요합니다. 하지만 illuminate/auth5.2.45에 잠겨 있습니다. 적어도 laravel/passport을 업데이트하거나 composer update을 수행하는 것이 좋습니다. 업데이트 전에 백업이 있는지 확인하십시오.

+0

귀하의 게시물을 보내 주셔서 감사합니다. 나는 '작곡가 쇼'가 낳는 것을 보여주기 위해 내 메인 포스트를 편집했다. 나는 또한 '작곡가 업데이트'를 운영했으나 업데이트가 없었다. 필자는 작곡가 로그에 대해 '조명/인증'요구 사항이 충족되지 않아 그 이유 때문에 종료하기 때문에 업데이트 할 루멘/패스포트를 통해 '루멘 패스포트'를 설치할 수 없습니다. 그래서 나는 여기에서 어디로 가야할지에 관해 조금 붙어 있습니다. – XanT

+0

당신은 루멘의 최신 버전 **에 ** 아닙니다! ''laravel/lumen-framework ': "5.2. *",'루멘의 최신 안정 버전은'5.3'이다. [upgrade] (https://lumen.laravel.com/docs/5.4/upgrade) 이상이어야한다. 가장 안정한 루멘 버전 인 5.3 또는 5.4로 변경되었습니다! –

+1

한숨, 내가 어떻게 그리워하는지 모르겠다. 나는이 루멘 파일 시스템이 GitHub에서 왔다고 생각한다.'5.4.4'는 안정적이지만 이전 파일 시스템이고 현재 설치는'composer create-project --prefer-dist laravel/lumen'을 사용했다. 도와 줘서 고마워. – XanT