Cannot create cache directory .. or directory is not writable. Proceeding without cache in Laravel

前端 未结 7 1796
粉色の甜心
粉色の甜心 2020-12-22 15:07

I created a new Laravel project. When I go to the terminal to install the dependecies composer displays the following warning:

Cannot create cache

7条回答
  •  离开以前
    2020-12-22 15:40

    I had a similar problem recently, and needed to change the permissions of my vendor folder

    By running following commands :

    1. php artisan cache:clear
    2. chmod -R 777 storage vendor
    3. composer dump-autoload

    I need to give all the permissions required to open and write vendor files to solve this issue

提交回复
热议问题