Saurabh
Saurabh

Reputation: 11

Get error while I install: bower install bower ECMDERR,Tried all solutions

Get error while I install:

bower install

bower ECMDERR Failed to execute "git ls-remote --tags --heads [email protected] u.edu:iucomm/bower-framework.git", exit code of #128 Host key verification faile d. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

I have already run the command

git config --global url."https://".insteadOf git://

on windows as well as used

{
    "proxy":"http://<host>:<port>",
    "https-proxy":"http://<host>:<port>"
}

in .bowerrc file.

I am able to find the setting [url "https://"] insteadOf = git:// in my .gitconfig file. Moreover my .gitconfig file is in C://users//username and my project folder is in C://

Upvotes: 1

Views: 387

Answers (1)

VonC
VonC

Reputation: 1324407

Failed to execute
"git ls-remote --tags --heads [email protected]:iucomm/bower-framework.git"

That means it does not use git:// (git protocol) but (ssh://)git@ (ssh protocol)

In that case, make sure to use a private key without passphrase.

Upvotes: 0

Related Questions