0

Whenever I try to run php artisan tinker i get:
ReflectionException : Class App\Console\Commands\ExampleCommand does not exist

While that file does indeed not exist, does it have to in order to run tinker?

Bowis
  • 541
  • 8
  • 31
  • 1
    try to use `php artisan clear-compiled`, you can see about it more from here https://laravel.com/docs/8.x/artisan#command-whitelist – bhucho Nov 16 '20 at 12:06

1 Answers1

0

Had to comment out the ExampleCommand line in the tinker.php file (line 17). Thank you @bhuncho for pointing out the command whitelist documentation, found it based on that!

Bowis
  • 541
  • 8
  • 31