我刚刚删除了我安装的 laravel 文件夹,我在其中轻松安装了 Dingo 和 JWT。Laravel 版本是 5.2.x。
现在,每当我尝试重新安装 Dingo API 时,都会出现错误。这是我使用的命令列表:
安装步骤
- 安装 Laravel
composer create-project laravel/laravel citycare 5.2.*
:. (我也尝试过 5.1.*) - 安装野狗:
composer require dingo/api:1.0.x@dev
.
这是错误
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
./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
- Conclusion: don't install dingo/api 1.0.x-dev
- Conclusion: don't install dingo/api v1.0.0-beta3
- Conclusion: remove laravel/framework v5.2.38
- Installation request for phpdocumentor/reflection-docblock == 3.1.0.0 -> satisfiable by phpdocumentor/reflection-docblock[3.1.0].
- Conclusion: don't install laravel/framework v5.2.38
- dingo/api v1.0.0-beta1 requires illuminate/support 5.1.* -> satisfiable by illuminate/support[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].
- dingo/api v1.0.0-beta2 requires illuminate/support 5.1.* -> satisfiable by illuminate/support[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].
- don't install illuminate/support v5.1.1|don't install laravel/framework v5.2.38
- don't install illuminate/support v5.1.13|don't install laravel/framework v5.2.38
- don't install illuminate/support v5.1.16|don't install laravel/framework v5.2.38
- don't install illuminate/support v5.1.2|don't install laravel/framework v5.2.38
- don't install illuminate/support v5.1.20|don't install laravel/framework v5.2.38
- don't install illuminate/support v5.1.22|don't install laravel/framework v5.2.38
- don't install illuminate/support v5.1.25|don't install laravel/framework v5.2.38
- don't install illuminate/support v5.1.28|don't install laravel/framework v5.2.38
- don't install illuminate/support v5.1.30|don't install laravel/framework v5.2.38
- don't install illuminate/support v5.1.31|don't install laravel/framework v5.2.38
- don't install illuminate/support v5.1.6|don't install laravel/framework v5.2.38
- don't install illuminate/support v5.1.8|don't install laravel/framework v5.2.38
- Installation request for laravel/framework == 5.2.38.0 -> satisfiable by laravel/framework[v5.2.38].
- Installation request for dingo/api 1.0.x@dev -> satisfiable by dingo/api[1.0.x-dev, v1.0.0-beta1, v1.0.0-beta2, v1.0.0-beta3].
Installation failed, reverting ./composer.json to its original content.