6

I am having a problem that running php artisan route:list is throwing a Symfony\Component\HttpKernel\Exception\HttpException but it is not giving me any other output or logging it anywhere I can see.

I have tried composer update and dump-autoload as well as refreshing the route cache, debug is also set to true. How can I get more information about the HttpException that is being thrown?

rosscooper
  • 1,976
  • 3
  • 16
  • 29

2 Answers2

8

I found that you can run the route:list command with the -verbose flag which outputs the full error stack.

php artisan -v route:list

From this I then found my errors, good luck!

rosscooper
  • 1,976
  • 3
  • 16
  • 29
2

In my case this worked you can run this command composer dumpautoload and after that try php artisan route:list it will definitely work .

Zeeshan Mehdi
  • 1,241
  • 1
  • 17
  • 18