-
-
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
SerialPort.list() crashes Node on Windows while connecting and disconnecting devices. #2339
Comments
Hi @gabrieleimotion are you able to confirm the node and SP versions you are using? There was a recent change to the windows list function which improved stability, so if you are not already using the latest version then it might be worth a try |
@GazHank fair question, I updated my issue adding the version info :) |
Are you able to upgrade to v12+ of node since the prior versions are no longer supported |
I tried with v12.22.6 and still crashing without any error on serialport list. |
If you are still facing issues with a brother printer on the latest version then perhaps #2259 isn't fully resolved yet :-( |
Yes that's what I thought, but this happens sporadically and only on a combination of factors. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week no further activity occurs. Feel free continue the discussion or ask for a |
💥 BUG
I've experienced the issue where I have a QRCode reader attached to the usb port of my machine, this device goes to stand-by after some time and it gets back when used.
If I query for the device lists in this exact moment the nodejs process crashes without any unhandled exception on promise.
How can I debug this?
serialport version: ^9.2.4
node version: v8.17.0
npm version: v6.13.4
The text was updated successfully, but these errors were encountered: