Need Help with Laravel Installation Error

0
4
Asked By TechieNinja42 On

I'm having trouble setting up Laravel after watching a YouTube tutorial. When I try the command ``laravel new firstwebsite``, I get this error: "In CurlFactory.php line 200: cURL error 6: Could not resolve host: cabinet.laravel.com". Is there a fix for this?

2 Answers

Answered By DevGuru87 On

You might be experiencing a DNS or network issue. I suggest checking your internet connection. Switching to a public DNS, like Google’s, can help too. Also, consider running `composer create-project laravel/laravel firstwebsite` instead of the `laravel new` command to bypass the issue altogether.

TechieNinja42 -

Thanks for the tip! I'll try that out.

Answered By CodeMasterX On

It looks like the website you’re trying to reach doesn’t exist anymore. The tutorial might be outdated, so I recommend checking the official Laravel installation guide instead.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.