2017-05-10 140 views
2

我使用了laravel 5.3以前,但現在我剛剛升級到laravel 5.4,現在我嘗試配置Laravel護照,但我得到了下面的問題,解決Laravel護照2.0安裝錯誤

問題1:

- laravel/passport v1.0.1 requires symfony/psr-http-message-bridge ^0.3.0 -> satisfiable by symfony/psr-http-message-bridge[v0.3]. 
- laravel/passport v1.0.2 requires symfony/psr-http-message-bridge ^0.3.0 -> satisfiable by symfony/psr-http-message-bridge[v0.3]. 
- laravel/passport v1.0.3 requires symfony/psr-http-message-bridge ^0.3.0 -> satisfiable by symfony/psr-http-message-bridge[v0.3]. 
- laravel/passport v1.0.4 requires symfony/psr-http-message-bridge ^0.3.0 -> satisfiable by symfony/psr-http-message-bridge[v0.3]. 
- laravel/passport v1.0.5 requires symfony/psr-http-message-bridge ^0.3.0 -> satisfiable by symfony/psr-http-message-bridge[v0.3]. 
- laravel/passport v1.0.6 requires symfony/psr-http-message-bridge ^0.3.0 -> satisfiable by symfony/psr-http-message-bridge[v0.3]. 
- Conclusion: don't install symfony/psr-http-message-bridge v0.3 
- Can only install one of: symfony/psr-http-message-bridge[v0.2, v0.4]. 
- Can only install one of: symfony/psr-http-message-bridge[v0.4, v0.2]. 
- Can only install one of: symfony/psr-http-message-bridge[v0.2, v0.4]. 
- laravel/passport v1.0.0 requires symfony/psr-http-message-bridge ^0.2.0 -> satisfiable by symfony/psr-http-message-bridge[v0.2]. 
- Installation request for laravel/passport ^1.0 -> satisfiable by laravel/passport[v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6]. 
- Installation request for symfony/psr-http-message-bridge (locked at v0.4) -> satisfiable by symfony/psr-http-message-bridge[v0.4]. 

任何人都可以幫我解決這個問題嗎?

回答

0

嘗試composer require symfony/psr-http-message-bridge,並在此之後composer update

+0

非常感謝您的回答,我想同樣的方式得到了同樣的錯誤...的symfony/PSR-HTTP消息橋 – parthi

+0

檢查版本在你的作曲家。 json文件 –

+0

像這樣 - laravel/passport v1.0.0需要symfony/psr-http-message-bridge^0.2.0 - > symfony/psr-http-message-bridge [v0.2]可以滿足,但是這些與您的 衝突要求或最低穩定性。 – parthi