使用后:
laravel new website
我收到此错误。有谁知道我做错了什么?我在digitalocean上使用512 MB / 20 GB磁盘/ Ubuntu 16.04.3 x64。
Installing laravel/laravel (v5.5.28)
- Installing laravel/laravel (v5.5.28)
Downloading: 100%
Created project in website
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.
答案 0 :(得分:0)
这是作曲家的问题。
尝试使用sudo composer self-update
更新作曲家,然后重试。