Everytime I clone a Laravel project ( ex: <https://github.com/flytomek/shopping-list>) into my XAMPP localhost, I get this strange error:

> 
> Warning: require(/Applications/XAMPP/xamppfiles/htdocs/shopping-list/vendor/autoload.php): failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/shopping-list/artisan on line 18
> 
> 
> Fatal error: require(): Failed opening required
> '/Applications/XAMPP/xamppfiles/htdocs/shopping-list/vendor/autoload.php'
> (include\_path='.:') in
> /Applications/XAMPP/xamppfiles/htdocs/shopping-list/artisan on line 18
> 
> 
> 

I have looked over many similar posts, runned:
**composer install --no-scripts** and I still get the same error.

Firstly I believed it's because of file permissions, I am running macOs and had similar issues with scripts not being able to access files, but I ran **chmod -R 777 shopping-list** and I get the same issue.