sandeepmistry / node-powermate

A Node.js library for the Griffin PowerMate
41 stars 25 forks source link

node-hid dependency update 0.5.x => 0.7.x #15

Closed foxxyz closed 6 years ago

foxxyz commented 6 years ago

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);
                        ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~

Updated to latest version fixes this.

foxxyz commented 6 years ago

👍