3
I just made a git clone
(copy) a newly made Laravel application in the company where I work.
I surrounded the composer update
and artisan key generate
to make initial settings as well as edited the file .env
to configure the database.
Everything is perfectly configured, but an Exception appears when running the application:
Please provide a Valid cache path
Someone knows how to fix this?
The
composer install
was already run. It was really just missing folders problem.– Wallace Maxters
Great @Wallacemaxters, glad it’s solved, these problems are really boring because a person has no idea what it might be. Let’s hear it for Google in these cases
– Miguel
Do not use sudo to install the Composer dependencies, it can (and possibly will) create permission problems. Instead, it is preferable to fix user permissions to be able to create directories and thus let the framework create the necessary directories with the current user.
– Gui
@Gui, you’re absolutely right, I edited the answer
– Miguel