Laravel 8: 安装失败,正在将 ./composer.json 还原为其原始内容
Laravel 8: Installation failed, reverting ./composer.json to its original content
我正在使用 Laravel 8,我想安装 Laravel Collective v5.7。
所以在终端我说:
composer require "laravelcollective/html":"5.7.1"
但是returns这个错误:
无法将您的要求解析为一组可安装的软件包。
Problem 1
- Installation request for laravelcollective/html 5.7.1 -> satisfiable by laravelcollective/html[v5.7.1].
- Conclusion: remove laravel/framework v8.37.0
- Conclusion: don't install laravel/framework v8.37.0
- laravelcollective/html v5.7.1 requires illuminate/view 5.7.* -> satisfiable by illuminate/view[5.7.17, 5.7.18, 5.7.19, 5.7.x-dev, v5.7.0, v5.7.1, v5.7.10, v5.7.11, v5.7.15, v5.7.2, v5.7.
20, v5.7.21, v5.7.22, v5.7.23, v5.7.26, v5.7.27, v5.7.28, v5.7.3, v5.7.4, v5.7.5, v5.7.6, v5.7.7, v5.7.8, v5.7.9].
- don't install illuminate/view 5.7.17|don't install laravel/framework v8.37.0
- don't install illuminate/view 5.7.18|don't install laravel/framework v8.37.0
- don't install illuminate/view 5.7.19|don't install laravel/framework v8.37.0
- don't install illuminate/view 5.7.x-dev|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.0|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.1|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.10|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.11|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.15|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.2|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.20|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.21|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.22|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.23|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.26|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.27|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.28|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.3|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.4|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.5|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.6|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.7|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.8|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.9|don't install laravel/framework v8.37.0
- Installation request for laravel/framework (locked at v8.37.0, required as ^8.12) -> satisfiable by laravel/framework[v8.37.0].
Installation failed, reverting ./composer.json to its original content.
怎么了?我怎样才能正确安装那个版本的 Laravel Collective?
这是关键信息:
laravelcollective/html v5.7.1 requires illuminate/view 5.7.*
该软件包的 v5.7 需要 Laravel 5.7,但您使用的是 Laravel v8.
自 v6.2 以来的所有版本都与 Laravel v8.
兼容
我正在使用 Laravel 8,我想安装 Laravel Collective v5.7。
所以在终端我说:
composer require "laravelcollective/html":"5.7.1"
但是returns这个错误:
无法将您的要求解析为一组可安装的软件包。
Problem 1
- Installation request for laravelcollective/html 5.7.1 -> satisfiable by laravelcollective/html[v5.7.1].
- Conclusion: remove laravel/framework v8.37.0
- Conclusion: don't install laravel/framework v8.37.0
- laravelcollective/html v5.7.1 requires illuminate/view 5.7.* -> satisfiable by illuminate/view[5.7.17, 5.7.18, 5.7.19, 5.7.x-dev, v5.7.0, v5.7.1, v5.7.10, v5.7.11, v5.7.15, v5.7.2, v5.7.
20, v5.7.21, v5.7.22, v5.7.23, v5.7.26, v5.7.27, v5.7.28, v5.7.3, v5.7.4, v5.7.5, v5.7.6, v5.7.7, v5.7.8, v5.7.9].
- don't install illuminate/view 5.7.17|don't install laravel/framework v8.37.0
- don't install illuminate/view 5.7.18|don't install laravel/framework v8.37.0
- don't install illuminate/view 5.7.19|don't install laravel/framework v8.37.0
- don't install illuminate/view 5.7.x-dev|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.0|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.1|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.10|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.11|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.15|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.2|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.20|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.21|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.22|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.23|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.26|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.27|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.28|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.3|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.4|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.5|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.6|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.7|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.8|don't install laravel/framework v8.37.0
- don't install illuminate/view v5.7.9|don't install laravel/framework v8.37.0
- Installation request for laravel/framework (locked at v8.37.0, required as ^8.12) -> satisfiable by laravel/framework[v8.37.0].
Installation failed, reverting ./composer.json to its original content.
怎么了?我怎样才能正确安装那个版本的 Laravel Collective?
这是关键信息:
laravelcollective/html v5.7.1 requires illuminate/view 5.7.*
该软件包的 v5.7 需要 Laravel 5.7,但您使用的是 Laravel v8.
自 v6.2 以来的所有版本都与 Laravel v8.
兼容