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

Can't build native module, do I need node 0.11.x installed? #671

Closed
natevw opened this issue Oct 1, 2014 · 1 comment
Closed

Can't build native module, do I need node 0.11.x installed? #671

natevw opened this issue Oct 1, 2014 · 1 comment

Comments

@natevw
Copy link

natevw commented Oct 1, 2014

I'm trying to use node-hid under atom-shell, there is a fork that has been updated to work under node 0.11.x (the fork author is using it under latest node-webkit) but when I try to build it I get tons of errors:

https://gist.github.com/natevw/7be2306060300a186db2

I noticed in those logs that the reported version of node is 0.10.x (what I have installed on my system). Do I need to actually have node 0.11.x installed on my system too for building native modules? Nothing of that is mentioned at https://github.com/atom/atom-shell/blob/master/docs/tutorial/using-native-node-modules.md

UPDATE: I see that node-hid has a custom install shell script (which may even be a legacy of pre-gyp days and no longer that necessary) and perhaps this is interfering? https://github.com/porsager/node-hid/blob/master/install.sh

@zcbenz
Copy link
Member

zcbenz commented Oct 1, 2014

node-hid is using nan 0.8, which doesn't work well with atom-shell and latest node, the author need to upgrade nan to at least 1.2.

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

No branches or pull requests

2 participants