Do you have PagesController class? is there any route that points to PagesController class?
php artisan route:list not working in laravel 8
I am facing this error when I try to execute the above command php artisan route:list here is the result ErrorException
include(C:\xampp\htdocs\blog\vendor\composer/../../app/Http/Controllers/PagesController.php): failed to open stream: No such file or directory
at C:\xampp\htdocs\blog\vendor\composer\ClassLoader.php:444 440▕ * Prevents access to $this/self from included files. 441▕ */ 442▕ function includeFile($file) 443▕ { ➜ 444▕ include $file; 445▕ } 446▕
1 C:\xampp\htdocs\blog\vendor\composer\ClassLoader.php:444 include()
2 C:\xampp\htdocs\blog\vendor\composer\ClassLoader.php:322 Composer\Autoload\includeFile("C:\xampp\htdocs\blog\vendor\composer/../../app/Http/Controllers/PagesController.php")
Please or to participate in this conversation.