-
SerialPort Version10.3.0 Node Version12.22.10 and 16.14.0 - the same results Electron VersionNo response PlatformUbuntu 20.04.3 LTS (5.4.0-99-generic) Architecturex64 Hardware or chipset of serialportNo response What steps will reproduce the bug?code test.js
npm install serialport ls /dev/ttyUSB* What happens?node test.js output:
What should have happened?there should be no errors Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 5 replies
-
now this is working only in configuration with Node v10.x and [email protected] |
Beta Was this translation helpful? Give feedback.
-
how to make serialport work with modern versions of node like node v16.x ? |
Beta Was this translation helpful? Give feedback.
-
I'd check out the v10 upgrade guide the exports from the package have changed. |
Beta Was this translation helpful? Give feedback.
-
/*this should work for node 20 and serialport 12/
} port.write('main screen turn on', function(err) { port.write('333388'); |
Beta Was this translation helpful? Give feedback.
-
I've encountered the same problem. No matter which version it is, the same error occurs. Is this library actually usable or not? |
Beta Was this translation helpful? Give feedback.
I'd check out the v10 upgrade guide the exports from the package have changed.