Closed galak closed 2 years ago
@galak: at this time it's unfortunately expected, due to the upstream delay fix in node-usb
v1.8.0 being reverted in node-usb
v1.9.1 as it caused other issues with Node.js.
The upstream error hasn't been fully resolved; I had a look a while ago but didn't find/fix the underlying issue. All uvcc
users are encouraged to help out in node-usb
so this can be fixed!
See
node-usb
v1.7.0; uvcc
pinned to node-usb
v1.6.5.node-usb
v1.8.0+, which reintroduces delays.node-usb
v1.8.0, since the delay fix in v1.8.1/v1.9.0 causes crashes.The previous versions worked fine. Is downgrading node the only workaround?
Just released uvcc
v5.0.2, targeting node-usb
v1.9.2. (Actually semver ^1.9.2
.) This version includes an upstream fix for the exit delay.
Install/upgrade with:
npm install --global uvcc@latest
I'll close this issue as fixed. Please confirm whether the fix works, or not!
With uvcc@5.0.2, usb@2.1.3, node v17.3.0, this is happening again. Should I file a new issue?
@wookayin: yes, please!
Doing a command like:
It will quickly report the output and than pause for 7-8 seconds before returning to prompt.