-
Notifications
You must be signed in to change notification settings - Fork 118
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
Remove the sshpk from peerDependencies #51
Comments
Hi, Can you please remove sshpk as the peer dependencies. It does not go well with node 4.2.2 and npm 2.14.7, while doing a shrink-wrap |
+1 |
I'm experiencing this problem (via a dependency on As a workaround, I've added |
@suprememoocow yup, just experienced it myself. In my case I locked |
@nunofgs That works if you're using request directly, but it's not possible if you have a dependency that uses |
took the same approach as @nunofgs, and got lucky enough to avoid the situation described by @suprememoocow |
This is all rather unfortunate. It seems that The reason why there is both a Since it doesn't look like |
Ok, |
Thank you so much @arekinath. That's great news |
Wow, that was fast. Thank you very much @arekinath. |
http-signature doesn't play well with
npm prune
andnpm shrinkwrap
when usingnpm@2
. The reason for this is thesshpk
dependency inpeerDependencies
:How to reproduce the problem:
package.json
file like this:npm install
(usenpm@2
, I used 2.14.0)npm shrinkwrap
fails:npm prune
and thennpm shrinkwrap
results innpm prune
unbuilding the peer dependency andnpm shrinkwrap
failing:I propose to remove
sshpk
frompeerDependencies
, since it is already specified independencies
.(
sshpk
was added topeerDependencies
in this commit: dc1ac85)Thanks.
The text was updated successfully, but these errors were encountered: