On a new MacBook Pro (Catalina), I have done the following:
- Install homebrew
brew install php
- Install composer
composer require laravel/valet
valet install
valet tld localhost
When I ping foo.localhost, I get:
cannot resolve test.localhost: Unknown host
Also, if I try to view a site in the browser eg test.localhost
(which has a very basic index.html), then I get a not found error.
I have read all the previous answers and deleting everything and reinstalling didn't work.
Has anyone else come across this/have a solution?