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

can't install more than one private github repo in windows #956

Closed
emcpadden opened this issue Nov 7, 2013 · 3 comments
Closed

can't install more than one private github repo in windows #956

emcpadden opened this issue Nov 7, 2013 · 3 comments

Comments

@emcpadden
Copy link

I am using Bower on windows and I have several dependencies in bower.json and two of these dependencies point to private repos in github.

When I do a bower install, I am prompted for the username of the 1st private repo and then after I type it in but before it asks me for the password, I get prompted for the username of the 2nd private repo. This makes it so that I can't enter the password of the 1st private repo.

I wish this would work. I'd be fine if you can add a command line switch that makes each dependency check synchronous.

@Cryptarcadian
Copy link

I get the same issue from Windows PowerShell when trying to install/update where there are multiple dependencies that are private repos (not just GitHub).

I get multiple username/password prompts appearing in a sequence that makes it impossible to enter credentials, e.g. 4 x username in a row, password/username prompts with labels interchanged (but password ones are still masked).

The only workaround I've found so far is to use HTTPS, with credentials being saved using https://gitcredentialstore.codeplex.com.

@emcpadden
Copy link
Author

Wow ... thanks Cryptarcadian! That solves my problem! This is a big help.

@sheerun sheerun modified the milestones: 1.4.0, 2.0.0 Jun 13, 2014
@sheerun
Copy link
Contributor

sheerun commented Jun 13, 2014

@benschwarz @sindresorhus I think we should disable interactivity at all and use askpass feature as described in #1009 to pass username & password to git.

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

Successfully merging a pull request may close this issue.

3 participants