There are no commands defined in the "route:" namespace

This error occurs when you try to get the route list in terminal after running php artisan route::list command in terminal in Laravel. Use php artisan route:list instead of php artisan route::list command.

Answers 1