a1mcxa
Last Updated: July 09, 2017
·
11
· webfacer
1ac40ea49b742e19deae3940d1228472

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

Say Thanks
Respond