Samuel
3 September 2018 10:01
1
Hi guys, I'm trying to install node red on fresh installation of stretch-lite on raspberry pi 3 with 16gb mem card on it but fail each time.
I am installing as username 'pi'.
Performed Sudo apt-get update and upgrade.
When I check the log, it's stuck at this line every time.
npm WARN using --force I sure hope you know what you are doing.
Is there anything I can do to install node-red on raspi 3?
Thanks!
ghayne
3 September 2018 10:03
2
Did you use (and only use - did nothing else to do with node or npm) the bash script on the page that @ghayne linked to?
npm WARN is a warning not an error
But as has already been suggested for node-RED it is better to use the script on the node-RED raspberry pi page
Samuel
3 September 2018 10:20
5
Yes, I have used command from the link that @ghayne provided.
So what Ive done, fresh install of stretch-lite and straight onto node red. No joy.
If I have missed something from documentation, please point me.
Thank you
so where does that script fail?
Samuel
3 September 2018 10:21
7
The one provided by @ghayne ? I have already done so to no success.
Samuel
3 September 2018 10:21
8
It just never ends, even after night of running.
so which part does it “hang” on. The script gives feedback as it goes
Samuel
3 September 2018 10:24
10
It hangs on 'Install Node-RED core'
did you also install
sudo apt-get install build-essential
as suggested in the docs?
Colin
3 September 2018 10:24
13
As it says when it runs, it make a log /var/log/nodered-install.log
Post that here.
Did you just run that script or did you run it after trying other things 1st?
Trying to see if something has broken in latest Raspbian release I've used that script many times on a Pi and it has worked flawlessly but people do run into problems if they try other things instead of just using that script
Simon
I had a new SD Card delivered yesterday- I'll try setting it up with latest Stretch lite and see what happens here
Was it a Pi3B or Pi3B+ that you tried to do this on?
Simon
Samuel
3 September 2018 10:32
16
Hi, I've put fresh installation of stretch-lite, run sudo apt-get update and upgrade, also sudo apt-get install build-essential and then run script.
I've asked one guy that that wrote tutorial on node red, and he says he can install it with no problems.
I can try and perform some exact steps if you've got any in mind?
Samuel
3 September 2018 10:37
18
@Colin Here's link to my post on reddit
I'm just downloading/burning it at the moment.
I'm not going to do an update/upgrade cycle in case that is the bit that is causing it to fail - you never know whether a recent change mucks things up
Are you using a Pi3B or Pi3B+ (in case that makes a difference)?
Simon