-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
win7 nw.js 0.12.3 can't find SerialPort #665
Comments
I got the same error and after numerous combinations got it to work finally. Attached is the x64 build which you can try. |
Please try the latest beta, I'm let to believe the upgrade to |
@JuppySingh would you be able to share what you did to make it work? |
I am able to install [email protected] with the latest Node x64 v5.10.1. I then try and rebuild serialport for nw.js using the following commands:
However, when I try and run a test. I get the following error:
|
can you do the same thing again but remove the |
I think I have this solved in #737 but you testing that will confirm |
It is working fine now. Thanks! |
OK cool! Il have this fixed in beta5 or the next release! |
I rebuild SerialPort as
node-pre-gyp rebuild --runtime=node-webkit --target=0.12.3
and i use like
var com = require("serialport"); com.list(function (err, ports) { ports.forEach(function(port) {console.log(port.comName); }); }); var s = new com.SerialPort("COM3");
i can get the SerialPort list
but there has a error :
Uncaught TypeError: undefined is not a function
saidnew com.SerialPort("COM3")
undefined.i don't know how to fix it. can help me? THX!!
The text was updated successfully, but these errors were encountered: