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