Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel : failed to open stream: Success _ error in auth

i use laravel 5.6

i run below command :

php artisan make:auth

After registration in http://localhost:8000/register, I will encounter the following error :

 failed to open stream: Success

or after login in http://localhost:8000/login , I will encounter the following error :

failed to open stream: No such file or directory

Thanks your help

like image 909
Mostafa Norzade Avatar asked Dec 23 '22 05:12

Mostafa Norzade


1 Answers

  1. First thing is to clear the cache using this command:php artisan cache:clear.
  2. Then regenerate classes that need in your project using this command:composer dump-autoload -o.
  3. Update project using: composer update
  4. Rollback the migrations using: php artisan migrate:rollback
like image 173
Ammar Ali Avatar answered Jan 09 '23 02:01

Ammar Ali