Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem during bower install #529

Closed
MathRobin opened this issue Jun 13, 2014 · 8 comments
Closed

Problem during bower install #529

MathRobin opened this issue Jun 13, 2014 · 8 comments

Comments

@MathRobin
Copy link

I have try the install of ui elements as indicated in the docs and i get this error :

bower polymer-ui-toggle-button#^0.3.0 ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/Polymer/polymer-ui-toggle-button.git", exit code of #128

Same thing with and without sudo. And with some other packages sometimes.

@robdodson
Copy link
Contributor

Can you run this command from your terminal:

git ls-remote --tags --heads git://
github.com/Polymer/polymer-ui-toggle-button.git

If that doesn't return some values then either Github is down or something
on your end is blocking it. Which version of bower are you using?

On Fri, Jun 13, 2014 at 12:54 AM, Mathieu ROBIN notifications@github.com
wrote:

I have try the install of ui elements as indicated in the docs and i get
this error :

bower polymer-ui-toggle-button#^0.3.0 ECMDERR Failed to execute "git
ls-remote --tags --heads git://
github.com/Polymer/polymer-ui-toggle-button.git", exit code of #128
#128

Same thing with and without sudo. And with some other packages sometimes.


Reply to this email directly or view it on GitHub
#529.

@sorvell
Copy link
Contributor

sorvell commented Aug 12, 2014

Make sure bower is updated and verify github is up per @robdodson's comment.

Please reopen the issue if the problem re-surfaces.

@sorvell sorvell closed this as completed Aug 12, 2014
@kwijik
Copy link

kwijik commented May 23, 2017

Hi, I'm trying to install Polymer on my Mac and have some errors. How can I fix it and install Polymer?

npm WARN deprecated bower@1.8.0: ..psst! While Bower is maintained, we recommend yarn and webpack for new front-end projects! Please read our blog for more.
npm WARN deprecated @types/assert@0.0.29: See https://github.com/DefinitelyTyped/DefinitelyTyped/issues/12826
npm ERR! git submodule -q update --init --recursive: git: 'submodule' is not a git command. See 'git --help'.
npm ERR! git submodule -q update --init --recursive: 
npm ERR! git clone --template=/Users/ordi/.npm/_git-remotes/_templates --mirror git@github.com:polymerelements/test-fixture.git /Users/ordi/.npm/_git-remotes/git-github-com-polymerelements-test-fixture-git-8142662e: Cloning into bare repository '/Users/ordi/.npm/_git-remotes/git-github-com-polymerelements-test-fixture-git-8142662e'...
npm ERR! git clone --template=/Users/ordi/.npm/_git-remotes/_templates --mirror git@github.com:polymerelements/test-fixture.git /Users/ordi/.npm/_git-remotes/git-github-com-polymerelements-test-fixture-git-8142662e: Permission denied (publickey).
npm ERR! git clone --template=/Users/ordi/.npm/_git-remotes/_templates --mirror git@github.com:polymerelements/test-fixture.git /Users/ordi/.npm/_git-remotes/git-github-com-polymerelements-test-fixture-git-8142662e: fatal: Could not read from remote repository.
npm ERR! git clone --template=/Users/ordi/.npm/_git-remotes/_templates --mirror git@github.com:polymerelements/test-fixture.git /Users/ordi/.npm/_git-remotes/git-github-com-polymerelements-test-fixture-git-8142662e: 
npm ERR! git clone --template=/Users/ordi/.npm/_git-remotes/_templates --mirror git@github.com:polymerelements/test-fixture.git /Users/ordi/.npm/_git-remotes/git-github-com-polymerelements-test-fixture-git-8142662e: Please make sure you have the correct access rights
npm ERR! git clone --template=/Users/ordi/.npm/_git-remotes/_templates --mirror git@github.com:polymerelements/test-fixture.git /Users/ordi/.npm/_git-remotes/git-github-com-polymerelements-test-fixture-git-8142662e: and the repository exists.
npm ERR! code 128
npm ERR! Command failed: git clone --template=/Users/ordi/.npm/_git-remotes/_templates --mirror git@github.com:polymerelements/test-fixture.git /Users/ordi/.npm/_git-remotes/git-github-com-polymerelements-test-fixture-git-8142662e
npm ERR! Cloning into bare repository '/Users/ordi/.npm/_git-remotes/git-github-com-polymerelements-test-fixture-git-8142662e'...
npm ERR! Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR! 
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR! 

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/ordi/.npm/_logs/2017-05-23T12_16_35_946Z-debug.log```

@robdodson
Copy link
Contributor

I think this is the issue npm ERR! Permission denied (publickey).

Are you behind a corporate proxy or anything like that?

@kwijik
Copy link

kwijik commented May 24, 2017

No, I'm not sure, because I have exactly the same error from my home wifi.

@robdodson
Copy link
Contributor

So you're doing npm install -g bower and getting the above error? What commands are you running?

@kwijik
Copy link

kwijik commented May 24, 2017

npm install -g bower gives just warning message:

npm WARN deprecated bower@1.8.0: ..psst! While Bower is maintained, we recommend yarn and webpack for new front-end projects! Please read our blog for more.
/usr/local/bin/bower -> /usr/local/lib/node_modules/bower/bin/bower
/usr/local/lib
└── bower@1.8.0 

P.S the problem is resolved, thank you

@robdodson
Copy link
Contributor

That is all to be expected.

Glad you got it sorted :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants