When I type laravel new blog
I get the following error.
In RequestException.php line 113:
Server error: GET http://cabinet.laravel.com/latest.zip
resulted in a 522 Origin Connection Time-out
response:
<html> <head><title>522 Origin Connection Time-out</title></head> <body bgcolor="white"> <center><h1>522 Origin Conne (truncated...)
Is the same error if I typ composer create-project --prefer-dist laravel/laravel blog
.
And the link doesn't work if I try to go there.
Before creating your first Laravel project, you should ensure that your local machine has PHP and Composer installed.
Your Laravel installer is very out of date. The only way to get the latest version is to remove and install again:
composer global remove laravel/installer composer global require laravel/installer
laravel-news.com/updating-the-laravel-installer
composer global require "laravel/installer:^4.0"
laravel --version
and you should get output like Laravel Installer 4.0.3
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With