Answer the question
In order to leave comments, you need to log in
Why can't I create a Laravel project using Composer?
Hello! For some reason I can't create a new Laravel project using Composer
[email protected]:~/sites/khcp/web$ sudo composer create-project laravel/laravel /home/dart/sites/khcp/web
Installing laravel/laravel (v5.4.21)
[InvalidArgumentException]
Project directory /home/dart/sites/khcp/web/ is not empty.
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]
[email protected]:~/sites/khcp/web$ ls -l
total 0
Answer the question
In order to leave comments, you need to log in
The problem was solved by deleting the folder and creating it again
rm -r web
mkdir web
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question