Laravel Error: Please provide a valid cache path

后端 未结 3 1214
孤街浪徒
孤街浪徒 2021-02-14 08:27

I cloned a Laravel 5.2 project.

When I execute composer install, I got the error:

  [InvalidArgumentException]
  Please provide a valid cache path. 
         


        
3条回答
  •  情歌与酒
    2021-02-14 09:30

    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!

提交回复
热议问题