【发布时间】:2016-07-07 17:21:38
【问题描述】:
我正在尝试使用命令在我的 Laravel 5.2 上安装这个 https://github.com/antonioribeiro/tracker 包:
composer require pragmarx/tracker
然后我得到这个错误:
您的需求无法解析为一组可安装的软件包。
Using version ^2.0 for pragmarx/tracker
./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 pragmarx/tracker ^2.0 -> satisfiable by pragmarx/tracker[v2.0.0].
- Conclusion: remove ramsey/uuid 3.4.1
- Conclusion: don't install ramsey/uuid 3.4.1
- pragmarx/tracker v2.0.0 requires ramsey/uuid ~2.8 -> satisfiable by ramsey/uuid[2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.9.0].
- Can only install one of: ramsey/uuid[2.8.0, 3.4.1].
- Can only install one of: ramsey/uuid[2.8.1, 3.4.1].
- Can only install one of: ramsey/uuid[2.8.2, 3.4.1].
- Can only install one of: ramsey/uuid[2.8.3, 3.4.1].
- Can only install one of: ramsey/uuid[2.8.4, 3.4.1].
- Can only install one of: ramsey/uuid[2.9.0, 3.4.1].
- Installation request for ramsey/uuid (locked at 3.4.1) -> satisfiable by ramsey/uuid[3.4.1].
Installation failed, reverting ./composer.json to its original content.
我不想破坏我的应用程序。我应该怎么办?
【问题讨论】:
-
问题是你的包没有更新到 laravel 5.2。尝试在 laravel 5.0 项目上安装它
标签: php laravel laravel-5 composer-php