Laravel passport Composer 安装报错?
今天在安装passport的时候报错,Homestead环境。
./composer.json has been updated
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 laravel/passport 5.0.3 -> satisfiable by laravel/passport[v5.0.3].
- Conclusion: remove laravel/framework v5.5.39
- Conclusion: don't install laravel/framework v5.5.39
- laravel/passport v5.0.3 requires illuminate/http ~5.6 -> satisfiable by illuminate/http[v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.2, v5.6.3, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9].
- don't install illuminate/http v5.6.0|don't install laravel/framework v5.5.39
- don't install illuminate/http v5.6.1|don't install laravel/framework v5.5.39
- don't install illuminate/http v5.6.10|don't install laravel/framework v5.5.39
- don't install illuminate/http v5.6.11|don't install laravel/framework v5.5.39
- don't install illuminate/http v5.6.12|don't install laravel/framework v5.5.39
- don't install illuminate/http v5.6.13|don't install laravel/framework v5.5.39
- don't install illuminate/http v5.6.14|don't install laravel/framework v5.5.39
- don't install illuminate/http v5.6.15|don't install laravel/framework v5.5.39
- don't install illuminate/http v5.6.2|don't install laravel/framework v5.5.39
- don't install illuminate/http v5.6.3|don't install laravel/framework v5.5.39
- don't install illuminate/http v5.6.4|don't install laravel/framework v5.5.39
- don't install illuminate/http v5.6.5|don't install laravel/framework v5.5.39
- don't install illuminate/http v5.6.6|don't install laravel/framework v5.5.39
- don't install illuminate/http v5.6.7|don't install laravel/framework v5.5.39
- don't install illuminate/http v5.6.8|don't install laravel/framework v5.5.39
- don't install illuminate/http v5.6.9|don't install laravel/framework v5.5.39
- Installation request for laravel/framework (locked at v5.5.39, required as 5.5.*) -> satisfiable by laravel/framework[v5.5.39].
Installation failed, reverting ./composer.json to its original content.
已解决使用,composer require laravel/passport ~4.0 指定版本