Hallo, guys, nice to meet you. Big thanks for nodejs!
I do nodejs with USB 3G modems via its application interface on COM ports.
On windows (XP, 7) openning COM almost always works no matter if there is
device in USB or no:
> require('fs').openSync('\\\\.\\COM8', "w+")
3
>
sometimes it gets this: [1].
One day i've got such thing too on my working laptop, which was fine
before. Reboot helped (win7, many sleeps and hibernates).
But on other PCs nothing helps (node 7,8,9 32 or 64 bit, win7, XP,
reboots), though [1] was there from the very beginning.
How this can be debugged?
Thanks!
[1] other computer:
> require('fs').openSync('\\\\.\\COM10', "w+")
Error: OK, success '\\.\COM10'
at Object.fs.openSync (fs.js:413:18)
at repl:1:16
at REPLServer.self.eval (repl.js:110:21)
at Interface.<anonymous> (repl.js:239:12)
at Interface.EventEmitter.emit (events.js:94:17)
at Interface._onLine (readline.js:202:10)
at Interface._line (readline.js:531:8)
at Interface._ttyWrite (readline.js:754:14)
at ReadStream.onkeypress (readline.js:99:10)
at ReadStream.EventEmitter.emit (events.js:97:17)
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.