You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.
As we can see in the issue in the above log, the app.allowRendererProcessReuse workaround is no longer possible with Electron 14+, making usb-detection unusable in it's current state with electron 14+. Also looking on the usb-detection repo I saw there is a PR that has been around for a while regarding that issue.
Do you support Electron 14+ ?
If so do you know a workaround for this problem or do you have plans for a future fix.
Many thanks.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It seems that we can't use hw-transport-node-hid-singleton with Electron 14+ as the use of usb-detection crashes the app with this error:
Uncaught Error: Loading non-context-aware native module in renderer: '/my-path/node_modules/usb-detection/build/Release/detection.node'. See https://github.com/electron/electron/issues/18397.
(bug reproductible in this repo)
As we can see in the issue in the above log, the
app.allowRendererProcessReuse
workaround is no longer possible with Electron 14+, making usb-detection unusable in it's current state with electron 14+. Also looking on the usb-detection repo I saw there is a PR that has been around for a while regarding that issue.Do you support Electron 14+ ?
If so do you know a workaround for this problem or do you have plans for a future fix.
Many thanks.
The text was updated successfully, but these errors were encountered: