node-elgato-stream-deck icon indicating copy to clipboard operation
node-elgato-stream-deck copied to clipboard

Incompatible with Electron 21 due to V8 Memory Cage?

Open matthewdwatkins opened this issue 1 year ago • 2 comments

Hello! I am getting this error when using this module in Electron 21:

[22072:0928/013445.372:ERROR:node_bindings.cc(146)] Fatal error in V8: v8_ArrayBuffer_NewBackingStore When the V8 Sandbox is enabled, ArrayBuffer backing stores must be allocated inside the sandbox address space. Please use an appropriate ArrayBuffer::Allocator to allocate these buffers.

I believe it has to do with this change in Electron's code:

https://www.electronjs.org/blog/v8-memory-cage

matthewdwatkins avatar Sep 28 '22 08:09 matthewdwatkins

Yep, this is a known issue with both node-hid and @julusian/jpeg-turbo

For now, stick with Electron 20. Ill fix these issues when I can, but if you use any other modules (eg sharp) then you might also be waiting for them to be updated too

Julusian avatar Sep 28 '22 08:09 Julusian

Great, thank you!

matthewdwatkins avatar Sep 28 '22 08:09 matthewdwatkins