Laravel 5 show ErrorException file_put_contents failed to open stream: No such file or directory

后端 未结 20 2079
北海茫月
北海茫月 2020-12-04 17:26

I have a project on Laravel 5 and I work with it at the office and at home too. It works fine, but recently at home it stopped working. Laravel show me two ErrorException

相关标签:
20条回答
  • 2020-12-04 18:10

    Try with these commands that have been useful with those errors

    path\project\storage\framework\views...

    php artisan view:clear
    

    path\project\storage\framework/sessions...

    php artisan config:cache
    
    0 讨论(0)
  • 2020-12-04 18:10

    the solution that worked for me is to just serve the app as admin if you are

    1. on mac or linux use sudo php artisan serve
    2. on windows try to open CMD as an adminstrator and then go to project directory and run php artisan serve
    0 讨论(0)
提交回复
热议问题