-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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
error in cygwin with npm install #705
Comments
no clue, works fine on osx / ubuntu etc, i'd assume it's a windows issue lol windows isn't exactly great for running node stuff, but it definitely does not like that tarball, maybe try installing progressively older versions of express to see if it was an npm publish issue |
Yeah, my webserver is running ubuntu so I'll probably just end up moving it there, but I figured you guys would want to be aware that your product wasn't working on cygwin (for whatever reason). I'll try a few more debugging steps and see what happens. |
I have no way of testing unfortunately, though I imagine many portions of node / node modules don't work quite right on windows in general, hopefully that will change with the next release, then I'll have to actually start using path.join() |
Try the solution in my gist: Which boils down to doing "npm cache clean", blowing out the /tmp/* dir contents, start a new dash shell to do "rebaseall -v", and retry your npm install. The alt solution of course, is to just use *nix. :-) |
@JasonGiedymin I think I tried a similar strategy based on what @isaacs recommended over on his git. I'll take a look at it and see what I can do. The work comps here only run Windows, but we have *nix servers set up for production obviously. I just wanted to make sure I had a decent local setup so I can blow stuff up without bringing down any of our poor *nix boxes. |
It worked! I think my issue was that I was missing the step where I blew out the temp files. |
Sweet! |
I've been debugging this for a couple hours, and I've tested that I can install a few other packages through npm. Unfortunately, express appears to still be giving me these errors, so I'm fairly certain it's something about the way the package is set up. Maybe a bad tar or something? Let me know if I'm doing anything obviously dumb. =)
The text was updated successfully, but these errors were encountered: