-
Notifications
You must be signed in to change notification settings - Fork 3k
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
NPM install fails when a git+ssh project is linked #318
Comments
I've run into this problem too. I have a repro here:
This is where the error happens: Lines 60 to 61 in f533d61
The parent package is requesting a git package with a gitRange. The child package doesn't have a _from because linked packages don't have _from, so npm calls npa(undefined)
I'm unsure what the right fix is. |
@felix9 I think the second clone is supposed to be |
oops, yeah, fixed. |
Ah, fantastic, it's been nagging at me that we don't have a repro case for that npa bug. Thanks! |
Does this mean that git hosted repos with gitRange should be avoided? Just added one of these to my project and started noticing the error.
Is there a patch for |
How did you fix this problem? |
@VitaliyDemchuk I never found a fix or workaround, I just gave up on using |
The text was updated successfully, but these errors were encountered: