Current node-hid dependency version (0.5.x) throws the following errors on Node 10 / OSX during pre-install:
LIBTOOL-STATIC Release/hidapi.a
CXX(target) Release/obj.target/HID/src/HID.o
../src/HID.cc:207:45: error: no matching member function for call to 'NewInstance'
Local<Object> buf = nodeBufConstructor->NewInstance(1, nodeBufferArgs);
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
Current
node-hid
dependency version (0.5.x) throws the following errors on Node 10 / OSX during pre-install:Updated to latest version fixes this.