Open
Description
node-snap7 uses v8::ArrayBuffer::NewBackingStore to allocate memory. However, starting from Node.js v20, when the V8 sandbox is enabled (which is default in Electron v30+ and Node.js v20+), this causes a fatal error:
FATAL ERROR: 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, or disable the sandbox.
Environment:
Electron v30.0.1+ / Node.js v20+
Windows 10 / 11
node-snap7 latest version
C++ Native Module
Metadata
Metadata
Assignees
Labels
No labels