Running Meteor npm packages depending if it's running on Windows or Linux (raspi)? -


i'm working on meteor app running on raspberry pi using wiring-pi that's deployed npm. i'm developing on windows 7/8 , have git branch pi.

on pi, it's able use meteorhacks:npm , build wiring-pi without issues. on windows, has problems when looks , tries install wiring-pi dependencies, makes sense..

is there way have meteor detect platform , when it's running on pi includes npm , wiring-pi, , on windows doesn't?

is need bring wiring-pi devs? part of output console:

  • npm err! failed @ wiring-pi@2.0.0 install script '/bin/bash./install.sh'.
  • npm err! problem wiring-pi package,
  • npm err! not npm itself.

should maintain i'm doing separate pi branch?

what best way go this?

thanks


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -