0
votes

i have installed composer using composer-setup.exe

then after i am trying to install laravel from cmd using composer. my cmd command are like:

"F:\Websites>composer create-project laravel/laravel l5"

and it gives me error like :

[ErrorException] chmod(): No such file or directory

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [] [] []

I am using create-project command with composer

1
Could you expand your question? What do you mean by installing with composer? Are you using the composer create-project command, or downloading a zip, extracting and running composer install, etc.?Wader
Please post the command you are using and the entire error you get from composer.Jerodev
Do you have git bash?thefallen
no i don't have it. i don't know how to get it. @TheFallenZala Krunal
i have used composer create-project laravel/laravel l5 command. @WaderZala Krunal

1 Answers

0
votes

i think you are missing something there..

try this and you are good to go..

composer create-project --prefer-dist laravel/laravel yourDirectory

its from official documentation