I'm trying to set up Laravel following a tutorial on YouTube, but I'm hitting a snag. When I run the command "laravel new firstwebsite", I get this error: "In CurlFactory.php line 200: cURL error 6: Could not resolve host: cabinet.laravel.com". Has anyone had a similar issue or knows how to fix this? Any advice would be appreciated!
2 Answers
Are you using a Mac or Windows? If you're on a Mac and have Homebrew installed, that could help with a smoother setup. Also, ensure your PHP version is compatible; that could cause some issues too.
It seems like that tutorial might be outdated since the site you're trying to connect to doesn't exist anymore. Instead, check out the official Laravel installation guide for the most current instructions.
Thanks for the tip! I'm on a Mac, so I'll check my PHP version next.