Skip to content

node-hid prebuilds do not work with Electron 4, due to ABI incompatibilities #293

@setpixel

Description

@setpixel

Electron 4.0.0 was just released. It is the main release.

Electron 4.0.0 uses node 10.11.0.

It seems to build fine with rebuild, and it works when I require.

However, when I try to call hid.devices(), i get:

dyld: lazy symbol binding failed: Symbol not found: __ZN2v811HandleScope12CreateHandleEPNS_8internal10HeapObjectEPNS1_6ObjectE
  Referenced from: /Users/setpixel/git/shot-generator/node_modules/node-hid/build/Release/HID.node
  Expected in: flat namespace

dyld: Symbol not found: __ZN2v811HandleScope12CreateHandleEPNS_8internal10HeapObjectEPNS1_6ObjectE
  Referenced from: /Users/setpixel/git/shot-generator/node_modules/node-hid/build/Release/HID.node
  Expected in: flat namespace`

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions