blinkstick-node
blinkstick-node copied to clipboard
Fails on Mac OS Catalina 10.15.7
This code
var blinkstick = require('blinkstick');
blinkstick.findAllSerials(function(serials) {
console.log(serials);
});
var led = blinkstick.findFirst();
fails with error:
...../node_modules/node-hid/nodehid.js:49
this._raw = new (Function.prototype.bind.apply(binding.HID,
^
Error: cannot open device with path IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG1@1,1/IOPP/UPSB@0/IOPP/DSB1@1/IOPP/UPS0@0/IOPP/pci-bridge@0/IOPP/pci1b73,1100@0/AppleUSBXHCIFL1100@00000000/AppleUSB20XHCIPort@00300000/USB 2.0 Hub@00300000/AppleUSB20Hub@00300000/AppleUSB20HubPort@00340000/USB 2.0 Hub@00340000/AppleUSB20Hub@00340000/AppleUSB20HubPort@00342000/BlinkStick Nano@00342000/IOUSBHostInterface@0/AppleUserUSBHostHIDDevice
libusb installed via Brew, Node.js 12.16.0 installed via installer from Node.js site.