使用composer创建项目时报错:Composer could not find the config file?

使用composer创建项目时报错:Composer could not find the config file:C:Composer ....?

一般报这个错就是composer安装的时候配置了两个环境变量,这时候可以把这个(C:Composer ....)环境变量删掉,重启下电脑就ok了

原文地址:https://www.cnblogs.com/crazytata/p/10037964.html