Laravel fatal error: Fatal error: Interface 'Illuminate\Auth\Illuminate\Contracts\Auth\Factory' not found

你。 提交于 2021-02-19 03:53:10

问题


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:


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


来源:https://stackoverflow.com/questions/35410757/laravel-fatal-error-fatal-error-interface-illuminate-auth-illuminate-contract

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!