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

(10-26-2020, 11:46 AM)Muzikant Wrote: 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.
- 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:

Thought I try myself on this CodeIgniter. It's my first ever, so I go the page, religiously did whatever the hell the tutorial says and voila! Michael Jackson resurrected and sang: "You are not alone, I am here with you" sonofa...

So I followed the github url thingy and created myself a token. then ok it went on and finished (and so I thought). So I tried it again by deleting the folder project-root and ran the command line again, the github didn't throw error but I got exactly the same:

  Failed to clone https://github.com/fzaninotto/Faker.git, git was not found, check that it is installed and in your PATH env.

  'git' is not recognized as an internal or external command,
  operable program or batch file.

Seriously what the hell does that even do? How did things become so complicated that people couldn't even get past the installation? Guys you know cellphones and most things nowadays don't come with user manual right? because people, make, things, simpler! period. Come on!

Messages In This Thread
RE: Installation CI4 - Cloning failed using an ssh key for authentication - solution - by MrLeche - 01-12-2021, 09:53 AM

Theme © iAndrew 2016 - Forum software by © MyBB