Skip to content

Unable to prepare route [api/user] for serialization. Uses Closure. #13

@pitchum

Description

@pitchum

When running composer install for the first time:

[...]
Package manifest generated successfully.
> Illuminate\Foundation\ComposerScripts::postInstall
> php artisan optimize
Configuration cache cleared!
Configuration cached successfully!
Route cache cleared!

In Route.php line 917:

  Unable to prepare route [api/user] for serialization. Uses Closure.


Script php artisan optimize handling the post-install-cmd event returned with error code 1

Here are the relevant Debian packages I use (from buster repository)

  • composer 1.8.4
  • php7.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions