安装laravel 5.5错误

问题描述 投票:0回答:1

我想在linux上安装laravel 5.5 ubuntu 16运行此命令。

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.
php laravel
1个回答
2
投票

首先删除您的composer缓存。运行composer clearcachecomposer self-update

希望这可以帮助。

© www.soinside.com 2019 - 2024. All rights reserved.