mtolhuys / laravel-schematics

A Laravel package making a diagram of your models, relations and the ability to build them with it
MIT License
1.49k stars 133 forks source link

error on schematics:install #17

Closed innoflash closed 4 years ago

innoflash commented 4 years ago

When i run php artisan schematics:install I get this error

Screenshot from 2020-03-07 20-03-35

Let alone the localhost:8000/schematics is blank

morawcik commented 4 years ago

Fast "fix" - comment out (or delete) default closure routes from api, console and channels file.

mtolhuys commented 4 years ago

@innoflash Yeah, what @morawcik says fixes it, relates to https://github.com/mtolhuys/laravel-schematics/issues/11

Laravel doesn't like closures while caching routes.

In your case its api/user where the closure is.