hybridgroup / cylon-tessel

Cylon adaptor for the Tessel
http://cylonjs.com
Other
13 stars 3 forks source link

npm install failed #17

Open zeroonedev opened 8 years ago

zeroonedev commented 8 years ago

Seem to be getting this error when trying to install the cylon-tessel package:

Failed at the usb@1.0.6 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, 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-pre-gyp install --fallback-to-build

Tried on node v5.3.0 & v4.2.4

deadprogram commented 8 years ago

Hi @zeroonedev the current Tessel CLI for the T1 is depending on the 1.0.6 version here: https://github.com/tessel/t1-cli/blob/master/package.json#L40

Probably updating it to the latest node-usb will help as discussed here: https://github.com/tessel/t1-cli/issues/189

EvanSimpson commented 8 years ago

Hey @zeroonedev, @deadprogram the t1-cli just got updated to use the latest version of node-usb which should fix this issue. Since cylon-tessel is requiring tessel with a tilde range, it should just work now, but if not bumping the tessel version dependency to v0.3.24 should do the trick.

deadprogram commented 8 years ago

Thanks @EvanSimpson for the info. @zeroonedev can you check to see if this works as expected for you?