我正在尝试安装带有composer的Laravel。运行createproject命令时出现此错误。
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命令进行安装,但仍然得到了相同的错误。
我已经为完整的错误消息创建了一个要点。我做错什么了吗?我试着清理作曲家的缓存和所有的东西。有什么办法解决这个错误吗?
这是composer标记上的错误。现在试试,它应该有效。