Hi guys i ve a little misunderstanding with Composer. I get error wrote 'Composer Init' in vsc Terminal, though composer is installed.
I checked composer -V in cmd and it tells that i have 'version 2.3.7' installed.
But in Visual Studio Code terminal I write 'composer init' to generate composer.json file and get this kind of error:
In InitCommand.php line 465:
[TypeError]
Composer\Command\InitCommand::parseAuthorString(): Argument #1 ($author) must be of type
string,
null given, called in phar://C:/ProgramData/ComposerSetup/bin/composer.ph
ar/src/Composer/Command/InitCommand.php on line 345