我有以下composer.json:http://pastebin.com/qtpJHqbW 但是,当我尝试运行composer时:更新我收到以下错误:
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.
如果有人感兴趣的话,这是github上的包回购的link。有什么想法吗?
答案 0 :(得分:0)
您需要大量“dev-master”版本,同时需要"minimum-stability": "stable"
- 这似乎不正确。
错误消息是抱怨在这些情况下依赖性无法解析:
您应该运行相同的命令并附加一些详细标记:composer install -vvv
以获取最多信息。这样,您将看到创建冲突安装请求的软件包。
您还可以将最低稳定性降低到“dev”,看看是否能解决错误。但你应该考虑其含义。虽然Composer确实努力让其他人下载与上次更新(或初始安装)运行时使用的完全相同的版本,但允许那么多开发版本听起来是个坏主意。