【问题标题】:install laravel 5.5 error安装 laravel 5.5 报错
【发布时间】: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

标签: php laravel


【解决方案1】:

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

希望这会有所帮助。

【讨论】:

    猜你喜欢
    • 2018-03-05
    • 2018-02-25
    • 1970-01-01
    • 1970-01-01
    • 2018-07-11
    • 2021-01-30
    • 2018-07-14
    • 2018-02-13
    • 1970-01-01
    相关资源
    最近更新 更多