Raspi 3 won't install node red

#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!

0 Likes

#2

https://nodered.org/docs/hardware/raspberrypi

0 Likes

#3

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?

0 Likes

#4

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

0 Likes

#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

0 Likes

#6

so where does that script fail?

0 Likes

#7

The one provided by @ghayne? I have already done so to no success.

0 Likes

#8

It just never ends, even after night of running.

0 Likes

#9

so which part does it “hang” on. The script gives feedback as it goes

0 Likes

#10

It hangs on 'Install Node-RED core'

0 Likes

#11

did you also install
sudo apt-get install build-essential

as suggested in the docs?

0 Likes

#12

Yes I have.

0 Likes

#13

As it says when it runs, it make a log /var/log/nodered-install.log
Post that here.

0 Likes

#14

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

0 Likes

#15

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

0 Likes

#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?

0 Likes

#17

Pi3B, thank you!

0 Likes

#18

@Colin Here's link to my post on reddit

0 Likes

#19

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

0 Likes

#20

Start by posting the log

0 Likes