Skip to content
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

The node-gyp and io.js meta-issue #701

Closed
Fishrock123 opened this issue Aug 23, 2015 · 3 comments
Closed

The node-gyp and io.js meta-issue #701

Fishrock123 opened this issue Aug 23, 2015 · 3 comments

Comments

@Fishrock123
Copy link
Contributor

node-gyp does not work on io.js. This has been a known issue since io.js 1.0.0-ish.

The reason is that node-gyp is hardcoded to do certain things in respect to how node is distributed on nodejs.org. This issue will not into the reasons on why node-gyp needs to download tarballs.

As such, io.js floats a number of floating patches on npm/node-gyp to make node-gyp work, as can be seen here.

If you are running io.js and attempt to build native modules using a different version of npm than shipped with your version of io.js, your native module builds will fail.

#564 and #669 attempt to fix this, but as of the time of this issue, both are out of date and neither uses io.js 3.0.0's process.release, which was introduced to alleviate this. Version checking could be acceptible for io.js 1.0.0> <3.0.0, as those will only ever be io.js releases.

@TooTallNate
Copy link
Contributor

Version checking could be acceptible for io.js 1.0.0> <3.0.0, as those will only ever be io.js releases.

I do want to add this backwards-compat logic for sure, and of course proper process.release checking.

@sbrl
Copy link

sbrl commented Sep 8, 2015

This module seems to be used all over the place. The canvas and ttystudio packages are just two examples. Since it doesn't work with io.js, this prevents me from using a whole bunch of modules, even though my system meets all the other requirements :(

In addition, I think that once io.js and Node.js merge, the io.js version system is going to be used. Does that mean that node-gyp is going to be broken on the next major release on Node.js too?

@rvagg
Copy link
Member

rvagg commented Sep 8, 2015

node-gyp v3, released yesterday, supports both io.js and Node.js, historical versions and near future versions, it'll be bundled with Node.js v4 but isn't bundled with npm just yet—that's coming soon hopefully.

node-canvas has problems of its on in getting up to speed with the current releases, it's been a little painful making the code work with the new V8 but they are nearly ready last I looked. I don't know about ttystudio but they may just need to upgrade to NAN v2 and you'll have to file an issue with them about it—there's nothing node-gyp, nor Node core can do about this, it's all on V8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants