-
Notifications
You must be signed in to change notification settings - Fork 3k
npm 5 fails to install git dependencies from gerrit #16789
Comments
Ooh this is probably some weird detail with shell expansion in pacote. |
I have something similar with git dependencies from Bitbucket Server. the line in "circular-list": "git+ssh://git@[REDACTED]/circular-list.git#v1.0.2", output:
|
@quarterto could you file this as an issue against https://github.com/zkat/pacote? This is definitely a hiccup with ref parsing pacote-side. |
@zkat done: zkat/pacote#90 |
I have a similar problem -- no crash, but no install either with dependencies from amazon codecommit. |
@remcohaszing I just pushed out |
@zkat I just |
@remcohaszing then I guess you're using a |
(I'm fixing this right now, btw) |
And here's the PR: npm/npm-package-arg#24 |
Closing as a duplicate of #16726 |
This issue still persists in
No, it's |
Reopening. If the previous patch didn't work, I think this is likely to have to do with #16898, which is fixed by zkat/pacote#97. I've released a new npm canary with this patch: |
I suppose that patch got merged in |
😎 cool. Thanks for trying it out 👍 |
And like, seriously, thanks y'all for reporting all this and letting me flop around a bit about it. git stuff needed some love ^_^;; |
I'm opening this issue because:
What's going wrong?
npm 5 crashed when I try to install a dependency from a Gerrit host. This worked fine when using npm 4.x.
I have the following dependency:
npm crashes on the following command (I rewrote it a bit replacing actual values with representative environment variables):
The following does work:
How can the CLI team reproduce the problem?
The team needs to try to depend on a git dependency from a Gerrit host. Since I'm using a private host, I can't give any further information.
supporting information:
npm -v
prints: 5.0.0node -v
prints: v7.10.0npm config get registry
prints: https://registry.npmjs.org/The text was updated successfully, but these errors were encountered: