Laravel failed to create project

Posted 1 year ago by bbmattieu9

I have composer installed on my system. I tried to run

composer create-project --prefer-dist laravel/laravel projectName

And I got an error saying

Failed to download laravel/laravel from dist: The "https://api.github.com/repos/laravel/laravel/zipball/3f92cf66f53b3b53467497acc0d2a00cbd7b65f0" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known failed to open stream: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known Now trying to download from source

` [RuntimeException] Failed to clone https://github.com/laravel/laravel.git via https, ssh protocols, aborting.

Please sign in or create an account to participate in this conversation.