Composer init не может создать файл композитора.jsonPhp

Кемеровские программисты php общаются здесь
Anonymous
Composer init не может создать файл композитора.json

Сообщение Anonymous »

Я загрузил последнюю версию композитора с помощью композитора-setup.exe.
Теперь, когда я пытаюсь выполнить инициализацию композитора, он запрашивает основные входные данные, а затем выдает ошибку.

Код: Выделить всё

INFO: Could not find files for the given pattern(s).

Welcome to the Composer config generator

This command will guide you through creating your composer.json config.

Package name (/) [asus/testcomp]:
Description []:
Author [n to skip]: n
Minimum Stability []:
Package Type (e.g. library, project, metapackage, composer-plugin) []:
License []:

In SpdxLicenses.php line 202:

Array or String expected, NULL given.

init [--name NAME] [--description DESCRIPTION] [--author AUTHOR] [--type TYPE] [--homepage HOMEPAGE] [--require REQUIRE] [--require-dev REQUIRE-DEV] [-s|--stability STABILITY] [-l|--license LICENSE] [--repository REPOSITORY] [-a|--autoload AUTOLOAD]
Я пробовал удалить и переустановить композитор, но результат остался прежним. Как это исправить?

Подробнее здесь: https://stackoverflow.com/questions/790 ... -json-file

Вернуться в «Php»