我想在laravel 5.4上安装cartalyst/tags,但在composer install
/ composer update
之后我遇到了一些错误。
这里有错误:
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 laravel/framework v5.4.5
- Conclusion: don't install laravel/framework v5.4.4
- Conclusion: remove laravel/framework v5.4.3
- Conclusion: don't install laravel/framework v5.4.3
- Installation request for cartalyst/tags ^3.0 -> satisfiable by cartalyst/tags[v3.0.0].
- Conclusion: don't install laravel/framework v5.4.2
- Conclusion: don't install laravel/framework v5.4.1
- cartalyst/tags v3.0.0 requires illuminate/database 5.3.* -> satisfiable by illuminate/database[v5.3.0, v5.3.16, v5.3.23, v5.3.4].
- don't install laravel/framework v5.4.0|don't install illuminate/database v5.3.0
- don't install laravel/framework v5.4.0|don't install illuminate/database v5.3.16
- don't install laravel/framework v5.4.0|don't install illuminate/database v5.3.23
- don't install laravel/framework v5.4.0|don't install illuminate/database v5.3.4
- Installation request for laravel/framework 5.4.* -> satisfiable by laravel/framework[v5.4.0, v5.4.1, v5.4.2, v5.4.3, v5.4.4, v5.4.5].
答案 0 :(得分:1)
[FIXED]包cartalyst/tags
可以在dev-master
中使用3.0.*
代替composer.json
。
答案 1 :(得分:0)
可能是 laravel 5.4 的问题,并且使用的包可能不支持。你可以试试Laravel 5.3
:
composer create-project laravel/laravel test "5.3.*"
希望这对你有用!