Laravel cache path ?! Never saw

InvalidArgumentException on line Compiler.php 36: Specify a valid cache path.

The presence of the above error when trying to deploy an existing application to a new server. Of course, I covered all the basics, but maybe I missed something !?

Any guidance would be appreciated!

+4
source share
2 answers

Make sure these folders exist:

./storage/framework/cache

./bootstrap/cache

0
source

Everything is sorted. Folders really exist, the latest version of Laravel and .env were fine.

Edit the compiled and compiled dump autoload and now fine.

0
source

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


All Articles