Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel Installer - Stuck at Crafting Application

So many days I used to the composer create-project method to install laravel and then today I found this cool laravel installer method in the laravel documentation.

I quickly ran the command composer global require "laravel/installer=~1.1" and got a success message. It also told that it installed in the directory ~\AppData\Roaming\Composer\vendor\bin rather than ~/.composer/vendor/bin mentioned in the documentation. I set up the PATH variable accordingly. (Anything wrong there?)

Anyways, I went to the directory of the project which I wanted to started and ran the command laravel new master and it gets stuck at Crafting Application.... I stopped it once and again started it once and its going on still. I surely don't want this cool method to work so slow. What should I do?

Additional Info:-

  1. Internet speed: 1Mbps
  2. OS: Windows 10
  3. Processor: Intel Core i5-4440 CPU @ 3.10GHz (That's to mention if speed matters)

UPDATE The process took about 10-15 minutes to finish. Isn't that too much? That didn't used to be the case with composer create-project method.

like image 315
Tanay Karnik Avatar asked Nov 09 '22 03:11

Tanay Karnik


1 Answers

have you tried to install php with Mbstring PHP Extension Tokenizer PHP Extension ? and I think the laravel command is an alias to the actual composer command to create a new project. Try using 'composer create-project laravel/laravel [insert_project_name]' instead.

like image 186
beingjungshahi Avatar answered Nov 15 '22 12:11

beingjungshahi