Could not open input file: composer.phar 无效解决办法

问题:运行php composer.phar create-project --prefer-dist cakephp/app cms
报错:Could not open input file: composer.phar

解决办法:给出.phar的完整路径
php D:…\composer.phar create-project --prefer-dist cakephp/app cms

转自:https://stackoverflow.com/questions/20769980/could-not-open-input-file-composer-phar

猜你喜欢

转载自blog.csdn.net/weixin_43918804/article/details/89085422