[英]installing FOSElasticaBundle using composer error
I have the following composer.json: http://pastebin.com/qtpJHqbW However when I tried to run composer: update I get the following error: 我有以下composer.json: http : //pastebin.com/qtpJHqbW但是,当我尝试运行composer:update时,出现以下错误:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package raulfraile/ladybug-bundle == 9999999-dev could not be found.
Problem 2
- Can only install one of: mopa/bootstrap-bundle[2.3.x-dev, 3.x-dev].
- Can only install one of: mopa/bootstrap-bundle[3.x-dev, 2.3.x-dev].
- Installation request for mopa/bootstrap-bundle 2.3.x-dev -> satisfiable by mopa/bootstrap-bundle[2.3.x-dev].
- Installation request for mopa/bootstrap-bundle == 3.9999999.9999999.9999999-dev -> satisfiable by mopa/bootstrap-bundle[3.x-dev].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Here's the link to the bundle repo on github if anyone is interested. 如果有人感兴趣,这是github上软件包回购的链接 。 Any ideas why? 有什么想法吗?
You are requiring plenty of "dev-master" versions, and at the same time require the "minimum-stability": "stable"
- this does not seem to be right. 您需要大量的“ dev-master”版本,同时还需要"minimum-stability": "stable"
-这似乎不正确。
The error message is complaining about dependencies not being resolvable under these circumstances: 错误消息抱怨在以下情况下无法解决依赖关系:
You should run the same command with some verbose flags attached: composer install -vvv
for maximum information. 您应该运行相同的命令,并附加一些详细标志: composer install -vvv
以获取最大信息。 That way you will get presented the packages that create the conflicting install requests. 这样,您将看到创建冲突安装请求的软件包。
You could also lower the minimum stability to "dev" and see if that fixes the error. 您还可以将最小稳定性降低到“ dev”,然后查看是否可以修复错误。 But you should really think about the implications. 但是您应该真正考虑其含义。 Although Composer does try hard to enable others to download the exactly same versions that were used when the last update (or initial install) was run, it sounds like a bad idea to allow that many development versions. 尽管Composer确实努力使其他人下载运行上次更新(或初始安装)时使用的完全相同的版本,但允许这么多开发版本听起来是个坏主意。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.