composer报错Project directory is not empty.的解决

问题

执行composer create-project flarum/flarum .后报错:

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

解决

原因是:隐藏文件并没有删除掉。

执行下面命令来查看隐藏文件:

ll -all

最终再rm -fr来删除即可。

猜你喜欢

转载自blog.csdn.net/qq_34626094/article/details/126415769