My laptop has 3 php versions 7.2, 7.4 and 8.1 when installing a brand new laravel i got asked about a token even it’s not installing a private repo
Why is that?
2
I just found out that auth.json file is corrupted, So i deleted it as no need for it now.
auth.json
it is located in $HOME/.config/composer/
$HOME/.config/composer/
One of the easiest solutions is you may remove/uninstall the composer and tick mark with all of its contents and then install again the composer.
It will just remove your global laravel/installer.
Hope it will work for you.
Click here to cancel reply.
2
Answers
I just found out that
auth.json
file is corrupted, So i deleted it as no need for it now.it is located in
$HOME/.config/composer/
One of the easiest solutions is you may remove/uninstall the composer and tick mark with all of its contents and then install again the composer.
It will just remove your global laravel/installer.
Hope it will work for you.