-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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 up -g breaks npm (for iojs) #1263
Comments
@iliakan Yeah, I bet $ npm install --node-gyp=pangyp |
I see there's a work going on, wondering when it's going to be finished. Now using pangyp after npm up as @kenany suggested. Maybe the issue is worth documenting until fixed. |
Isn't this an npm issue? cc: @othiym23 |
@iliakan I don't think this issue can be solved by a change in io.js unfortunately. I cursorly checked npm's issue tracker but couldn't find this exact problem. Please open an issue there! |
This happens because the floating patch we apply to npm for io.js releases gets lost when you upgrade npm. Ultimately, this is on @rvagg's plate, because there's a fix to |
(Also, please don't file issues about this on npm, because without a new release for |
Thanks for clearing that up, I think I finally understand the issue chain here 😉 |
(@silverwind But this stays closed?) |
As I see it, this issue isn't directly actionable (while #493 is). |
On the other hand, seeing that both linked issues got stale, we should also look into alternate ways of fixing this, if |
|
Please see nodejs/node-gyp#701 |
Bundled npm gets iojs sources from iojs site, but when I
npm up -g
, the new npm goes to nodejs site. This breaks the build system.Now in more details.
The commit https://github.com/cjihrig/io.js/commit/cdbb640359d07d4243dd63fdeadb42da7b6c439e forces the bundled npm to get the sources from
When I
npm up -g
, I now have the line:Then I try to install other modules and GYP build fails, because it wants node-v1.6.2.
The text was updated successfully, but these errors were encountered: