GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
tl;dr: Python version check in npm install would make the life of node.js beginners under Windows a lot easier although it seems to be rather an issue by gyp not by node.js.
Still a one liner that would make node.js even more fun to use :)
I agree this would be pretty helpful. Not sure if it belongs in npm or in node-gyp though (probably the latter). @TooTallNate, any thoughts on that?
I mean I already do check the Python version before executing gyp: https://github.com/TooTallNate/node-gyp/blob/be288a75fc9bd5652e3e9806a7b673c2bdf61313/lib/configure.js#L92-L121
@jonaspeeck Where/when would you expect this version check to happen?
@TooTallNate wow that code looks perfect. Very curious what @jonaspeeck's logs looked like where he didn't see that problem immediately...
Hey guys. I'm busy with an important homework assignment for college which is due in roughly 24 hours. So I'll try to reproduce the error and the logs in the next couple of days and will get back to you on that!
@jonaspeeck do you have an update?
Close? (doesn't seem like npm's responsibility in the first place)
Closing as (more or less?) resolved elsewhere. Thanks to all, especially @TooTallNate, for their time!