jywarren / opk-firmata-cli

An Open Pipe Kit command line interface for interacting with analog, digital, i2c etc interfaces of an Arduino with the Firmata firmware.
GNU General Public License v3.0
2 stars 0 forks source link

dependency node-serialport and/or node-pre-gyp not installing on Raspberry Pi #5

Open jywarren opened 9 years ago

jywarren commented 9 years ago

https://gist.github.com/jywarren/c877dc744c7e342bd025

Tracking this here: https://github.com/voodootikigod/node-serialport/issues/535#issuecomment-109098152

jywarren commented 9 years ago

Dane responded and thinks it's likely that this resulted from our running the command as root, which is how it's set up on Open Pipe Kit.

npm does not work correctly when run as root unless you also pass --unsafe-perm npm/npm#3497.

jywarren commented 9 years ago

@rjsteinert this will probably be relevant to any OPK driver that uses node-serialport.