Added windows to supported OSes, targeting node-hid v0.3.1#15
Added windows to supported OSes, targeting node-hid v0.3.1#15andrew merged 1 commit intoandrew:masterfrom
Conversation
|
Excellent, thanks for testing this out, I don't have a windows machine and my rabbit chewed the wire on my controller at the moment! |
Added windows to supported OSes, targeting node-hid v0.3.1
|
@ianwitherow , can you describe what you did to install it on Windows 8 x64? |
|
@EricSmekens , I'm thinking it's gotta be something with your Visual Studio install. Maybe try downloading the trial version? I commented here with what I had to do from a fresh install of Windows 7 x64. |
|
I'm still seeing this issue and I'm not sure the original fix was correct. According to npm os docs, they are matched against the value determined by node's process.platform which states that This would explain why I'm seeing the following confusing error: |
|
I've raised #16 to address this. I'm still having problems with node-hid not building on my Windows, but this at least lets me see those errors instead of blocking me saying windows is not supported. |
|
Strange, am I just installing differently? Here's what I did:
Here's the output I get: |
|
I'm getting failures because node-hid uses |
|
@neocotic you might have more luck with http://www.cygwin.com/ |
|
That explains a lot. I will try this soon. This way we don't have to use node-gyp to install node-hid, I guess. |
|
@andrew I can't seem to get cygwin to work with either Node or NPM. Both get strange errors. @ianwitherow I've done that, and it makes no difference to me. I can use |
|
@neocotic, I'm not sure what's going on. You have Python 2.7.6 and some fairly recent version of Visual Studio installed? I haven't tried with the express version, but I can try that later tonight. |
|
Unfortunately I don't have a windows machine (or a working xbox box controller right now, 🐰 chewed the cable) so I can't help debug much. Thanks for stepping up and helping out @ianwitherow |
|
I managed to get it working. I replaced VS2013 with VS2012 and then set the |
|
It's working great by the way :) Please let me know when the new version is released so that I can try get a version bump on cylon-joystick, which uses this module. |

Wanted to run this on Windows, so I updated to node-hid 0.3.1 and it seems to be working fine. I don't know if it doesn't work with node-hid 0.2.3; I just thought I'd try the latest version.