【问题标题】:How can I solve "Your requirements could not be resolved to an installable set of packages"?如何解决“您的要求无法解析为一组可安装的软件包”?
【发布时间】:2017-10-04 20:18:40
【问题描述】:

我的作曲家 json 是这样的:

https://pastebin.com/6aedCGt4

我愿意:composer update

存在这样的错误:

$作曲家更新

使用包信息加载作曲家存储库更新 依赖项(包括 require-dev) 您的要求不能 解析为一组可安装的软件包。

问题 1

- laravelcollective/html dev-master requires illuminate/http 5.5.* -> satisfiable by illuminate/http[5.5.x-dev] but these conflict with your requirements or minimum-stability.

- laravelcollective/html dev-master requires illuminate/http 5.5.* -> satisfiable by illuminate/http[5.5.x-dev] but these conflict with your requirements or minimum-stability.

- Installation request for laravelcollective/html dev-master -> satisfiable by laravelcollective/html[dev-master].

我该如何解决?

【问题讨论】:

  • 这条信息不言自明。

标签: php laravel laravel-5.3 dompdf


【解决方案1】:

查看https://getcomposer.org/doc/04-schema.md#minimum-stability,尝试将 minimum-stability 设置为“dev”,然后再次运行 composer update。

【讨论】:

  • 你可以删除你的答案吗?因为我想删除我的问题。我的问题很多人反对
  • 我不会删除我的答案。也许更多的初学者会找到它并投票给它。对于作曲家的新用户来说,这是一个合理的问题,如果您以前没有处理过它们,来自作曲家的错误消息根本不是很有帮助或不言自明。
  • 我在这部分同意你的观点“composer 的错误消息根本没有帮助或不言自明”(也许你应该在 github 上打开一个问题关于这个并等待一些回复;-)),但前提是你不知道你在做什么,如果你从未阅读过你正在使用的工具的文档,等等......有像这样的问题很多,谷歌搜索一下,找到正确的答案很简单。
猜你喜欢
  • 2019-09-28
  • 2015-06-01
  • 1970-01-01
  • 2014-08-27
  • 1970-01-01
  • 1970-01-01
  • 2015-06-12
相关资源
最近更新 更多