I’m trying to install blickstick for node.js on Windows 8.1 x64 and I’m getting this message:
C:\>npm install blinkstick
npm WARN optional dep failed, continuing usb-shyp-win32-ia32@0.3.x
npm WARN optional dep failed, continuing usb-shyp-win32-x64@0.3.x
npm WARN optional dep failed, continuing usb-shyp-darwin-x64@0.3.4
> usb@0.3.11 install C:\node_modules\blinkstick\node_modules\usb
> node shyp-blacklist.js win32-x64 win32-ia32 darwin-x64 || node-gyp rebuild
C:\node_modules\blinkstick\node_modules\usb>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
child_process: customFds option is deprecated, use stdio instead.
Warning: Missing input files:
C:\Program Files\libusb\MS64\dll\libusb-1.0.dll
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Copying C:/Program Files/libusb/MS64/dll/libusb-1.0.dll to C:\node_modules\blinkstick\node_modules\usb\build\Release\\libusb-1.0.dll
The system cannot find the path specified.
node_usb.cc
device.cc
transfer.cc
c:\node_modules\blinkstick\node_modules\usb\src\node_usb.h(11): fatal error C1083: Cannot open include file: 'libusb.h': No such file or directory (..\src\device.cc) [C:\node_modules\blinkstick\node_modules\usb\build\usb_bindings.vcxproj]
c:\node_modules\blinkstick\node_modules\usb\src\node_usb.h(11): fatal error C1083: Cannot open include file: 'libusb.h': No such file or directory (..\src\transfer.cc) [C:\node_modules\blinkstick\node_modules\usb\build\usb_bindings.vcxproj]
c:\node_modules\blinkstick\node_modules\usb\src\node_usb.h(11): fatal error C1083: Cannot open include file: 'libusb.h': No such file or directory (..\src\node_usb.cc) [C:\node_modules\blinkstick\node_modules\usb\build\usb_bindings.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\node_modules\blinkstick\node_modules\usb
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "blinkstick"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! usb@0.3.11 install: `node shyp-blacklist.js win32-x64 win32-ia32 darwin-x64 || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the usb@0.3.11 install script 'node shyp-blacklist.js win32-x64 win32-ia32 darwin-x64 || node-gyp rebuild'.
npm ERR! This is most likely a problem with the usb package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node shyp-blacklist.js win32-x64 win32-ia32 darwin-x64 || node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls usb
npm ERR! There is likely additional logging output above.
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "blinkstick"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! Uncaught, unspecified "error" event.
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! C:\npm-debug.log
Note that some of the paths mentioned in the error message (C:\node_modules…) make no sense.
Please help me install blinkstick.