I'm following the laravel docs and trying to install a fresh installation of Laravel with the following command:
laravel new pathology-lab
When I run this command I get the following error:
There is no vendor directory created. I had to run composer install
to install laravel dependencies.
But the Laravel docs says that with laravel new
command the dependent packages are automatically installed:
Am I doing anything wrong? or Is there any problem with my Composer/Laravel Installer?
I'm able to install Laravel without any errors through Composer:
composer create-project --prefer-dist laravel/laravel blog
laravel new
is just buggy, it doesn't work for me too and I always use composer to create new Laravel projects. – Alexey Mezenincomposer global require "laravel/installer"
? – Islam Al-Rayancomposer create-project laravel/laravel myProjectName
– Angad Dubey