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

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -