There is no such file or directory error (Laravel / Homestead)

I use laravel on the estate. I tried many different commands to clear the cache and other things, and nothing helped.

I keep getting this error:

file_put_contents(/Users/Victor/Sites/pft/pft-back/storage/framework/cache/data/05/9f/059f793d8b638b8c21ead7edbba382b9e9183fac): failed to open stream: No such file or directory I tried:

  • Set 777 for storage folder
  • php artisan cache:clear
  • php artisan view:clear
  • php artisan clear-compiled
  • composer dump-autoload

I don’t know why this is happening, but I’m sure because of the estate, since I only recently started using it.

I also tried all the commands from both the homestead user and the mac user (I run homestead on mac)

+4
source share
1 answer

The problem is the underlying storage card, can check whether there is storage/framework, storage/framework/cacheand storage/framework/cache/datar / w-resolution and otherwise to create them?

0
source

Source: https://habr.com/ru/post/1677716/


All Articles