Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel 5 installer only creates empty folder

I am following the Laracasts: Build your first app in laravel - episode 2. I have also went through the Laravel 5 Docs. After installing the laravel installer I run 'laravel new blog' but all it does is create an empty folder. Why is that?

My bash_profile file reads

export PATH=/Applications/MAMP/bin/php/php5.5.10/bin:$PATH
export PATH=$HOME/bin:$PATH
export PATH=$PATH:~/.composer/vendor/bin/
export PATH=$PATH:~/.composer/vendor/bin
export PATH="/usr/local/bin:$PATH"

like image 462
Pierce McGeough Avatar asked Mar 11 '15 00:03

Pierce McGeough


1 Answers

It happens because it is trying to use the old laravel installer installed on /usr/local/bin.

You just have to delete that with:

sudo rm /usr/local/bin/laravel

And that's all, this worked for me!

like image 115
UxWeb Avatar answered Sep 21 '22 14:09

UxWeb