Julusian / node-elgato-stream-deck

A Node.js library for interfacing with the Elgato Stream Deck. https://julusian.github.io/node-elgato-stream-deck/
https://www.npmjs.com/org/elgato-stream-deck
MIT License
160 stars 21 forks source link

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

Closed 1358 closed 1 year ago

1358 commented 1 year ago

[Bug]: Electron 21 breaks node-api stability guarantees https://github.com/electron/electron/issues/35801

Julusian commented 1 year ago

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