Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ndukachukz's avatar

error creating a new laravel application

when i run

laravel new laravel-react-template

i get this error:

Crafting application...

In CurlFactory.php line 200:

  cURL error 6: Could not resolve host: cabinet.laravel.com (see __hs://curl.haxx.se/libcurl/c/libcurl-errors.html)


new [--dev] [--5.2] [--] [<name>]

I am using a windows 10 machine I'm new to Laravel and don't know what to do anymore

0 likes
1 reply
tykus's avatar

How old is your Laravel installer; try updating it...

composer global update

Please or to participate in this conversation.