dongnong3799 2018-04-03 06:13
浏览 1645
已采纳

composer install,post-autoload-dump事件返回错误

Composer Install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Nothing to install or update Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump PHP artisan package: discover Script PHP artisan package: discover handling the post-autoload-dump event returned with an error

[RuntimeException]

Error Output:

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--
no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--
optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] [<packages>]...

Any suggestions?

  • 写回答

1条回答 默认 最新

  • duanche9384 2018-04-03 06:21
    关注

    Make sure you have the latest version of laravel/installer by running composer global update.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?