I'm looking to install node-red-node-beaglebone on 2016-03-27 image.  These 
instructions seem clear:

cd ~/.node-red   (which would be /root/.node-red)
sudo npm install -g --unsafe-perm node-red-node-beaglebone

Although I note that the instructions to edit ~/.node-red/settings.js and 
un-comment the bonescript:require('bonescript')  line have been removed.


But next I want to install johnny-five beaglebone-io  but the instructions 
here: http://morphocode.com/starting-with-johnny-five-on-the-beaglebone/
say to create a directory under the cloud9 tree and cd into it before 
running (as root):
npm install johnny-five beaglebone-io


Finally for node-red-contrib-gpio instructions at:  
https://github.com/monteslu/node-red-contrib-gpio
say to cd into my node-red directory  (presumably /root/.node-red) and run:
npm install node-red-contrib-gpio   (presumably as root)


The first and third seem clear although its not clear if I need or want the 
-g --unsafe-perm options for the third step.
For the second step, how is npm and node-red going to find the path to the 
directory I created? or does npm automagically create paths to find 
everything?


I'm I worrying about nothing?  
The first step is in progress, but I prefer clarification instead of a host 
of posts trying to figure out where I went wrong if I've not got the 
correct installation procedure before doing the other two.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to