Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

composer create-project without output

I'm trying to install laravel via composer in a windows 8 machine.

I'm running the command "composer create-project laravel/laravel --prefer-dist" in an empty folder and I'm getting no output to that command even after waiting for several minutes (no output, neither an error)...

I've tried also changing laravel/laravel to some nonexistan package name like "laravel1234" waiting some kind of error or something but nothing changes. I've to cancel with Ctrl+C

Feel free to tell me if I can update my question with some other information, I think probably I'm doing something wrong. Should I put a composer.json file in the folder? I think that isn't necessary with this command.

Thank you very much.

like image 818
Rola Avatar asked Sep 17 '14 02:09

Rola


1 Answers

The command was slightly wrong as @justrohu said, however I think the lack of output is probably due to network issues.

Try this to see where composer is getting stuck:

composer -vvv create-project laravel/laravel your-project-name --prefer-dist
like image 138
Joe Niland Avatar answered Oct 25 '22 21:10

Joe Niland