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"
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!
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