Lema
Lema

Reputation: 103

GuzzleHttp\Ring\Exception\Connect Exception cURL error 52 empty reply from the server

Need help figuring out why I get the above error code when I run the command laravel new app-name at the command prompt.

PS: connected to internet through a company proxy

Upvotes: 1

Views: 1171

Answers (2)

Alfredo
Alfredo

Reputation: 91

Try composer global update it should work

Upvotes: 0

Soroush
Soroush

Reputation: 917

You can use this command instead of laravel new your-app:

composer create-project laravel/laravel your-app --prefer-dist

But make sure your composer is updated first. Take a look at this.

edited: Try the laravel new your-app command after your composer update again.

Upvotes: 1

Related Questions