Composer Laravel安装错误:您的要求无法解析为可安装的软件包集

时间:2016-07-17 19:50:52

标签: laravel composer-php

我试图用作曲家安装Laravel。我运行create-project命令时收到此错误。

composer create-project laravel/laravel --prefer-dist appName

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
laravel/framework v5.2.9 requires symfony/http-foundation 2.8.*|3.0.* -> satisfiable by symfony/http-foundation[2.8.x-dev, 3.0.x-dev] but these conflict with your requirements or minimum-stability.

# Same error with many other versions (see gist)

Installation request for laravel/framework 5.2.* -> satisfiable by laravel/framework[v5.2.0, v5.2.1, v5.2.10, v5.2.11, v5.2.12, v5.2.13, v5.2.14, v5.2.15, v5.2.16, v5.2.17, v5.2.18, v5.2.19, v5.2.2, v5.2.20, v5.2.21, v5.2.22, v5.2.23, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.29, v5.2.3, v5.2.30, v5.2.31, v5.2.32, v5.2.33, v5.2.34, v5.2.35, v5.2.36, v5.2.37, v5.2.38, v5.2.39, v5.2.4, v5.2.5, v5.2.6, v5.2.7, v5.2.8, v5.2.9].

我还尝试通过克隆Laravel存储库并运行composer install命令进行安装,但仍然遇到了同样的错误。

我已为gist创建了完整的错误消息。难道我做错了什么?我尝试清除作曲家缓存和一切。任何想法如何解决这个错误?

1 个答案:

答案 0 :(得分:0)

这是作曲家标记的错误。现在试试,它应该有效。

相关问题