I am a newbie to Laravel, have been trying to install Laravel, wasted three hours unfortunately didn\'t work. When I access through public directory, I get these errors:
Just make your storage folder writable. This can be found in your app directory
In your terminal use this command
chmod +w <directory> or chmod a+w <directory>
Make sure you navigate to the directory containing the directory you want to make writable or you point to that path.
In Windows CMD I faced similar issue and fixed with this command below. After clone a laravel project from my git repository, there was no /vendor directory (logically). This below command creates fresh new /vendor directory and appropriate autoload.php file inside it.
composer update --no-scripts
This error indicates it can not find "autoload.php" under the vendor folder.
Make sure the vendor folder is generated by running the "composer install" command and the autoload.php file also created.