Getting Laravel Valet - Not Found error
To solve the isse with:
Warning: filegetcontents(/var/root/.valet/config.json): failed to open stream: Permission denied in /Users/Username/.composer/vendor/laravel/valet/server.php on line 23
Warning: Invalid argument supplied for foreach() in /Users/Username/.composer/vendor/laravel/valet/server.php on line 47
404 - Not Found
you have to change composer user and group:
cd ~/.composer/
sudo chown -R $(whoami) vendor
Written by Ilic Davor
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Valet
Authors
wjonthomas
5.208K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#