3
votes

I'm trying to start using laravel php framework. I'm trying to just call the index file and I get this error message.

C:\xampp\php\php.exe C:\xampp\htdocs\tutorials\lara\application\public\index.php

Fatal error: Interface 'Illuminate\Auth\Illuminate\Contracts\Auth\Factory' not found in C:\xampp\htdocs\tutorials\lara\application\bootstrap\cache\compiled.php on line 357

Process finished with exit code 255

Can anyone shine some light on what this means?

1
I'm using php strom if that makes a difference.Niall
you must go to /yor_project_adress/publicparanoid
try run in terminal php artisan clear:compiledImtiaz Pabel
first remove bootstrap/cache/services.php then run php artisan clear:compiled may be it will help you.Imtiaz Pabel
remove full vendor folder then again composer installImtiaz Pabel

1 Answers

5
votes

Your Illuminate\Auth\Illuminate\Contracts\Auth\Factory may not copied in your project,that why this is happening.So you need to be

Step 1 : Remove full vendor folder 
Step 2 : Run from your terminal composer install