I was facing a problem during a CodeIgniter 4 installation via Composer on my fully updated Linux Mint 20:
composer create-project codeigniter4/appstarter project-root
The terminal threw me an error when Composer attempted to install fzaninotto/faker and waited for a token.
The solution for me was to close a terminal and installing a git package with it's dependencies git-man and liberror-perl. Next time a CodeIgniter 4 installation passed with no problem.
I am not the only one who had this problem:
https://github.com/composer/composer/issues/9205
composer create-project codeigniter4/appstarter project-root
The terminal threw me an error when Composer attempted to install fzaninotto/faker and waited for a token.
Code:
- Installing fzaninotto/faker (dev-master 26c3c62): Cloning 26c3c624bb
Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos
Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+computername+2020-10-26+1924
to retrieve a token. It will be stored in "/home/username/.config/composer/auth.json" for future use by Composer.
Token (hidden):
The solution for me was to close a terminal and installing a git package with it's dependencies git-man and liberror-perl. Next time a CodeIgniter 4 installation passed with no problem.
I am not the only one who had this problem:
https://github.com/composer/composer/issues/9205