I created a new Laravel project. When I go to the terminal to install the dependecies composer displays the following warning:
composer
Cannot create cache
I had a similar problem recently, and needed to change the permissions of my vendor folder
By running following commands :
php artisan cache:clear
chmod -R 777 storage vendor
composer dump-autoload
I need to give all the permissions required to open and write vendor files to solve this issue