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 clients: npm prompts for password #12

Closed
davepacheco opened this issue Oct 14, 2015 · 5 comments
Closed

can't install clients: npm prompts for password #12

davepacheco opened this issue Oct 14, 2015 · 5 comments

Comments

@davepacheco
Copy link

I'm trying to use this repo from another project, but when I try to "npm install" that project, npm prompts for a password. I think it's because of this dependency in node-restify-clients:
https://github.com/restify/clients/blob/master/package.json#L66

I can reproduce this myself on my test system:

$ npm install git+https://git@github.com/restify/errors.git#master
\assword: -

and it just hangs there (with the spinny spinning). If I hit enter a few times, it actually works. But this is breaking an automated build environment.

This appears to be the problem described here:
http://stackoverflow.com/questions/19107160/why-is-npm-asking-for-a-password
npm/npm#3956

@davepacheco
Copy link
Author

It may be just the "git@" in the https URL, which presumably isn't necessary.

@davepacheco
Copy link
Author

I've confirmed that without the "git@", it works:

$ npm install git+https://github.com/restify/errors.git#master
restify-errors@3.0.0 node_modules/restify-errors
├── assert-plus@0.1.5
├── verror@1.6.0 (extsprintf@1.2.0)
└── lodash@3.10.1

This is on Node 0.10.40. I don't see this with Node 0.12.

It would be great to get an updated version of the restify-clients package published with this change.

@micahr
Copy link
Member

micahr commented Oct 14, 2015

Sorry about that Dave. We'll get that fixed right away.

@micahr
Copy link
Member

micahr commented Oct 14, 2015

You can now use v1.1.1 which now uses versions instead of git urls.

@davepacheco
Copy link
Author

Thanks for the super quick fix!

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

2 participants