问题
How does one get serialport to work with nw.js on Windows?
I have seen a bunch of articles on the web about compiling with node-pre-gyp, but can't get that to work. Also, the targets seem to be conflicting between serialport and nw.js. So I'm pretty confused.
Does anyone have step by step instructions on how to do this? I am a node rookie.
Windows 7
nw running nodejs v1.2.0 (the latest nw.exe)
来源:https://stackoverflow.com/questions/30085097/serialport-js-in-node-webkit-nw-js-on-win-7