October 5, 2022 . 1 MIN READ
If the data directory doesn’t exist under (storage/framework/cache/data), then you will have this error.
This data directory doesn’t exist by default on a fresh/new installation.
Reference:
https://stackoverflow.com/questions/52231248/laravel-showing-failed-to-clear-cache-make-sure-you-have-the-appropriate-permi