本文介绍了Laravel错误:请提供有效的缓存路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我克隆了一个Laravel 5.2项目.
I cloned a Laravel 5.2 project.
执行composer安装时,出现错误:
When I execute composer install, I got the error:
[InvalidArgumentException]
Please provide a valid cache path.
这些文件夹存在:
storage/app
storage/framework
storage/logs
bootstrap/cache
及其全部777.
我该如何解决此错误!
推荐答案
我已修复它.
在存储/框架下创建以下文件夹:
Create these folders under storage/framework:
sessions
views
cache
您还可以使用以下命令进行安装:
And also you can use this command to install:
sudo composer install
现在工作了!
这篇关于Laravel错误:请提供有效的缓存路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!