Welcome Guest, Not a member yet? Register   Sign In
Installation CI4 - Cloning failed using an ssh key for authentication - solution
#1

(This post was last modified: 10-27-2020, 07:42 AM by Muzikant.)

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.
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
Reply


Messages In This Thread
Installation CI4 - Cloning failed using an ssh key for authentication - solution - by Muzikant - 10-26-2020, 11:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB