A friend of mine, Peter Oakes has a series of videos on Youtube covering a lot of the subjects we touch on in here. He’s been tackling my latest Raspberry Pi script – so for those who like their information in video – here’s the latest.




Comments are closed.
hi
can this be adapted or used as is on the RPi model B?
Thanks
If you’re referring to my script – there are two – one for the Pi1, one for the Pi2. I’ve only tested the Pi1 version on an original Pi A I think as I only have one and really I only did it for completeness as it is so very slow.. but I can’t think of a reason why it would not work on the model B – same processor…
Bummer. So I clearly know less Linux than you, as I had the Node-Red install that came in the RPi Jessie image Ran this script – as root, not thinking I was root. Now the Node-Red that originally came with Jessie is gone and I do not know where to go next to get it installed…
Here’s what I tried:
Manually re-ran each command in the Node_red section of your script
Found the one that failed: “sudo npm install -g node-red-admin”
Created another user.
Gave that user sudoer rights in order to run the sudo command that failed.
Used “sudo su – ” to switch user to the new user.
Re-ran the failing command, but it still fails with this error:
“gyp WARN EACCES user “root” does not have permission to acccess the dev dir “/root/.node-gyp/4.2.6”
And then attempts installation in a temp dev dir… Which succeeds but the install does not seem to be complete…
Where to go with this next?
Well first of all I don’t know enough to be able to handle any situation – using sudo su for example… if you want the script to work you need to follow the instruction from the beginning not in pieves. The original Node-Red is removed as it is not up to date. ignore all “gyp WARM EACCES” they are warnings not errors.