-
Notifications
You must be signed in to change notification settings - Fork 3k
npm v5 install crashes on git dependency #16907
Comments
This looks like a dupe of #16898. |
We're closing this issue as it has gone seven days without activity and without being labeled. If we haven't even labeled in issue in seven days then we're unlikely to ever read it. If you are still experiencing the issue that led to you opening this or this is a feature request you're still interested in then we encourage you to open a new issue. If this was a support issue, you may be better served by joining package.communty and asking your question there. For more information about our new issue aging policies and why we've instituted them please see our blog post. |
I can confirm this error still repeated on with npm@5.0.4, so we should reopen it. |
I can confirm it's still a bug with npm@5.1.0 |
Yup, bug still exists in npm 5.1.0 |
I experienced this issue on version 5.0.3, then regressed to version 4.2.0 to get around the issue for now. |
Please reopen issue, it's a bug! |
File a new one then :-) |
:-) why |
I would assume because you want it fixed? |
To the same efficiency the opener of this thread experienced? |
There were other issue attempts: No success, it appears it's the way things are handled here |
I solved it by updating to version 5.7.1 by running
|
This is still a bug on 5.8.0 |
Alright so, I need a better repo: @medikoo's repro works now, but that's because This issue is closed because the original issue, where a remote branch was being referenced, is no longer a problem and was fixed a while back. To y'all replying: it's way more helpful to have a full, self-contained reproduction for a bug, and hopefully after you've done your own debugging on the git repo with the commands stated. Otherwise, it's extraordinarily useless to keep posting in a closed issue thread like this. |
@zkat see: serverless/serverless-meta-sync#15 It looks it was a desired change that was proposed as PR, but not merged as it didn't apply to shortly coming SLS v1 version. For those stuck at SLS v0.5 it was recommended to rely on So technically this commit never landed in |
@medikoo I literally don't understand how it works on npm@4. I am -tremendously- confused about this because raw git itself can't clone this. If anyone figures out how the hell this is happening, I will happily fix it. I'm vexed. |
oh nevermind I figured it out. lol |
It'll work with this patch. Just gonna do some routine checks and it should go out with the next possible release. |
Thank you! |
Might be related to #16898
I'm opening this issue because:
What's going wrong?
It crashes on install of dependency formulated as:
How can the CLI team reproduce the problem?
Create folder with package.json as:
Run:
It crashes with:
Content of debug log:
I also tried with fresh setup (removed
~/.npm
) same error occurs.Package installs successfully when I downgrade to npm v4
supporting information:
npm -v
prints: 5.0.1node -v
prints: v8.0.0npm config get registry
prints: https://registry.npmjs.org/The text was updated successfully, but these errors were encountered: