Composer reports error Project directory is not empty. Solution

question

composer create-project flarum/flarum .Error after execution :

[InvalidArgumentException]                                    
Project directory "/www/wwwroot/dzzs.com.cn/." is not empty.

solve

The reason is: hidden files are not deleted.

Execute the following command to view hidden files:

ll -all

rm -frYou can finally delete it.

Guess you like

Origin blog.csdn.net/qq_34626094/article/details/126415769