【发布时间】:2018-01-04 19:54:14
【问题描述】:
我想在 linux ubuntu 16 上安装 laravel 5.5 运行此命令。
php版本为7.0 并安装了所有需求模块
$composer create-project --prefer-dist laravel/laravel blog
我有错误
Installing laravel/laravel (v5.5.28)
- Installing laravel/laravel (v5.5.28)
Loading from cache
Created project in blog
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
- symfony/thanks v1.0.1 requires composer-plugin-api ^1.1 -> no matching package found.
- symfony/thanks v1.0.0 requires composer-plugin-api ^1.1 -> no matching package found.
- Installation request for symfony/thanks ^1.0 -> satisfiable by symfony/thanks[v1.0.0, v1.0.1].
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://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
【问题讨论】:
-
github.com/composer/composer/issues/2324 可能会有所帮助。然后主要建议是运行
composer update -
您是否尝试过先运行
php composer.phar self-update?我也会尝试composer create-project laravel/laravel blog "*" --prefer-dist