Skip to content
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

Only works for Electron <= 20.3.7 due to sandboxing / "memory cages" #68

Closed
1358 opened this issue Aug 7, 2023 · 1 comment
Closed

Comments

@1358
Copy link

1358 commented Aug 7, 2023

[Bug]: Electron 21 breaks node-api stability guarantees
electron/electron#35801

@Julusian
Copy link
Owner

Julusian commented Aug 7, 2023

I can confirm that this library does work with electron 21 and later.

Perhaps you need to force it to install a newer version of node-hid, it looks like this library is requesting ^2.1.1, and 2.1.2 is needed to fix compatibility. This is within the range it will install, but not all package managers will update nested dependencies unless you force them to.
If you are using @julusian/jpeg-turbo for enhanced performance, you need to be using at least v2.1.0 of that too

@Julusian Julusian closed this as not planned Won't fix, can't repro, duplicate, stale Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants