Reputation: 275
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
Upvotes: 1
Views: 1118
Reputation: 12957
To answer your question, no, you're not doing anything wrong. You're correct about the intended function of laravel new blog
and the auto-installation of dependencies. I would recommend that you submit this as a bug report or fix the issue and submit a pull request.
This is also a very dated question, and for new people coming across it from Google, it's very unlikely that this bug still exists, and updating to the latest version of laravel should resolve it.
Upvotes: 0