Не удалось открыть входной файл: composer.phar при создании нового проекта laravel

3364
s_user

Я установил composer глобально, используя шаги, упомянутые в https://getcomposer.org/

Но после установки фреймворка Laravel, когда я создаю новый проект laravel, выдается следующая ошибка.

Could not open input file: composer.phar 

Но проект инициализируется в спину. В чем проблема ?

0

1 ответ на вопрос

1
s_user

The issue was while installing the composer was installed both globally as well as locally and due to this the referencing issue rose. After the local installation was removed, the project was successfully installed with all the dependencies.