I know it sounds like a stupid question but... do you have internet connection? Failing that the host could be down.
Wrong IP, site is down, blocked port...
I tried pinging the IP but the request timed out, so it's most likely first or second
I'm having the same problem since yesterday, before I installed yosemite.
jonlambert said:
I know it sounds like a stupid question but... do you have internet connection? Failing that the host could be down.
Hey jon, thanks for the reply - there's never such a thing as a stupid question, haha! But, I do have full internet connection (going strong at 72/10)!
pogachar said: Wrong IP, site is down, blocked port...
I tried pinging the IP but the request timed out, so it's most likely first or second
Is there a fix, or is it from laravel's side?
Does anyone know of a fix for this?
**Edit: So I fixed this by running the following:
composer create-project laravel/laravel your-project-name --prefer-dist
Instead of:
laravel new your-project-name
Hope this helps.
@muyiwaolu, I was getting the same error today evening but after I updated all globally installed composer packages using:
composer global update
the issue sorted itself out. Hope this helps you or anyone else facing the issue out!
abhishekbhardwaj said:
@muyiwaolu, I was getting the same error today evening but after I updated all globally installed composer packages using:
composer global update
the issue sorted itself out. Hope this helps you or anyone else facing the issue out!
Works perfectly after update
Hi guys
I have the same
I update composer to the last version and update laravel installer too
composer self-update
composer global update
composer global require "laravel/installer=~1.1"
But bug still exist
I verify the host used on NewCommand.php
$response = \GuzzleHttp\get('http://cabinet.laravel.com/latest.zip')->getBody();
But when I try laravel new myApp...I have the same error
Failed to connect to 192.241.224.13
Maybe I need to delete the cache of Composer ? How can I do it ?
Any idea ?
Problem solved by deleting old laravel.phar from /usr/local/bin
In case anyone is having this problem:
delete the old laravel.phar from /usr/local/bin (as messi89 mentions above)
sudo rm /usr/local/bin/laravel
make sure you add the installer directory to your shell path
PATH="~/.composer/vendor/bin:$PATH"
That should do it.
Works for me! :)
twopiers said:
In case anyone is having this problem:
delete the old laravel.phar from /usr/local/bin (as messi89 mentions above)
sudo rm /usr/local/bin/laravel
make sure you add the installer directory to your shell path
PATH="~/.composer/vendor/bin:$PATH"
That should do it.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community