Closed bowao closed 4 years ago
Fix the Error: UnhandledPromiseRejectionWarning: TypeError: SerialPort.list no longer takes a callback and only returns a promise Rename "comName" to "path". See https://serialport.io/docs/8.x.x/guide-cli
Thank you!
Fix the Error: UnhandledPromiseRejectionWarning: TypeError: SerialPort.list no longer takes a callback and only returns a promise Rename "comName" to "path". See https://serialport.io/docs/8.x.x/guide-cli