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

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.

    打赏 评论

相关推荐 更多相似问题