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
v.1.8.0 gives error on install via Git: "ENOTFOUND Package git not found" #2392
Comments
This issue could be related: |
I can confirm that rolling back to 1.7.9 makes the problem go away
|
I didn't know you could use git@github style URLs on bower, I thought you could only use the short form |
We use this URL style for private git repos with ssh key auth. |
I cannot see any tests currently in place for supporting git@github.com:USERNAME/PACKAGE.git style URLS, unless any core devs have an issue with it I will add tests and fixes for them. @sheerun |
@wookoouk no worries, it happens :) you can find that URL style in the docs, with other styles as well: https://bower.io/docs/api/#install |
My solution to this is to get the last |
PR #2395 |
Related issue occurs with 1.8.2 when installing from a private repo. Command: Error: |
We had this problem with a gitlab private repo, and our solution was to enable access to the deploy key for that private repo. YMMV |
I was having this problem with Bower 1.8.2 as well. Updating to Bower 1.8.4 resolved the problem. |
Fixed by #2395 |
I'm receiving the following error when I try to install packages via Git (
git@...
).vincenzo:~/ $ bower install git@github.com:stevemao/left-pad.git bower ENOTFOUND Package git not found
Everything works fine using
https
:Something changed in the 1.8.0 version, but I wasn't able to understand if the former version is now deprecated.
Output of
bower -v && npm -v && node -v
:Additional environment details (proxy, private registry, etc.):
N/A
Steps to reproduce the issue:
bower install git@github.com:stevemao/left-pad.git
on v. 1.8.0The text was updated successfully, but these errors were encountered: