IWuZhuo IWuZhuo - 25 days ago 42
PHP Question

Laravel Error: Please provide a valid cache path

I cloned a Laravel 5.2 project.

When I execute composer install, I got the error:

[InvalidArgumentException]
Please provide a valid cache path.


Theses folders are exists:

storage/app
storage/framework
storage/logs

bootstrap/cache


and its all 777.

How can i fixed this error!

Answer

I fixed it.

Create these folders under storage/framework:

sessions
views
cache

And also you can use this command to install:

sudo composer install

Now its worked!

Comments