作曲家:安装Laravel跟踪器时无法解决您的要求



我正在尝试使用以下命令在我的 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.

我不想破坏我的应用程序。我该怎么办?

新软件包依赖于 ramsey/uuid,该行还告诉您已找到哪些版本可以满足此要求:

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].

似乎此软件包已经安装在较新版本中,因为还出现了以下行:

- Conclusion: remove ramsey/uuid 3.4.1
- Conclusion: don't install ramsey/uuid 3.4.1

作曲家总结如下:

- Can only install one of: ramsey/uuid[2.8.0, 3.4.1].

Composer 无法安装新软件包,因为您已在与所需版本不兼容的较新版本中安装了 ramsey/uuid。

您可以尝试使用ramsey/uuid的更新向pragmarx/tracker的维护者发送拉取请求。或者,您可以搜索与已安装软件包兼容的其他软件包。

相关内容

  • 没有找到相关文章

最新更新