# Raspi 3 won't install node red

**URL:** https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801
**Category:** General
**Created:** [3 September 2018 10:01 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801 "2018-09-03T10:01:43Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Samuel](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Samuel](https://discourse.nodered.org/u/Samuel)
#### Post date: [3 September 2018 10:01 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/1 "2018-09-03T10:01:43Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)
#### Post date: [3 September 2018 10:03 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/2 "2018-09-03T10:03:44Z")

</div>

[https://nodered.org/docs/hardware/raspberrypi](https://nodered.org/docs/hardware/raspberrypi)

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [3 September 2018 10:11 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/3 "2018-09-03T10:11:31Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [3 September 2018 10:20 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/4 "2018-09-03T10:20:13Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Samuel](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Samuel](https://discourse.nodered.org/u/Samuel)
#### Post date: [3 September 2018 10:20 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/5 "2018-09-03T10:20:14Z")

</div>

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

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [3 September 2018 10:20 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/6 "2018-09-03T10:20:46Z")

</div>

so where does that script fail?

---

<div class="post-metadata">

### Author: ![Samuel](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Samuel](https://discourse.nodered.org/u/Samuel)
#### Post date: [3 September 2018 10:21 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/7 "2018-09-03T10:21:04Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Samuel](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Samuel](https://discourse.nodered.org/u/Samuel)
#### Post date: [3 September 2018 10:21 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/8 "2018-09-03T10:21:36Z")

</div>

It just never ends, even after night of running.

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [3 September 2018 10:22 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/9 "2018-09-03T10:22:39Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Samuel](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Samuel](https://discourse.nodered.org/u/Samuel)
#### Post date: [3 September 2018 10:24 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/10 "2018-09-03T10:24:11Z")

</div>

It hangs on 'Install Node-RED core'

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [3 September 2018 10:24 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/11 "2018-09-03T10:24:27Z")

</div>

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

as suggested in the docs?

---

<div class="post-metadata">

### Author: ![Samuel](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Samuel](https://discourse.nodered.org/u/Samuel)
#### Post date: [3 September 2018 10:24 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/12 "2018-09-03T10:24:48Z")

</div>

Yes I have.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [3 September 2018 10:24 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/13 "2018-09-03T10:24:56Z")

</div>

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

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [3 September 2018 10:29 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/14 "2018-09-03T10:29:14Z")

</div>

> [@Samuel](#):
>
> I have already done so to no success.

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

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [3 September 2018 10:32 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/15 "2018-09-03T10:32:37Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Samuel](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Samuel](https://discourse.nodered.org/u/Samuel)
#### Post date: [3 September 2018 10:32 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/16 "2018-09-03T10:32:46Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![Samuel](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Samuel](https://discourse.nodered.org/u/Samuel)
#### Post date: [3 September 2018 10:36 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/17 "2018-09-03T10:36:55Z")

</div>

Pi3B, thank you!

---

<div class="post-metadata">

### Author: ![Samuel](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Samuel](https://discourse.nodered.org/u/Samuel)
#### Post date: [3 September 2018 10:37 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/18 "2018-09-03T10:37:45Z")

</div>

@Colin Here's link to my post on reddit

> **[r/raspberry\_pi - Node red on raspi 3 - won't install](https://www.reddit.com/r/raspberry_pi/comments/9cearg/node_red_on_raspi_3_wont_install/e5axyvb/)**
>
> 1 vote and 2 comments so far on Reddit

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [3 September 2018 10:38 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/19 "2018-09-03T10:38:11Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [3 September 2018 10:43 UTC](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801/20 "2018-09-03T10:43:58Z")

</div>

> [@Samuel](#):
>
> I can try and perform some exact steps if you've got any in mind?

Start by posting the log

[Next page](https://discourse.nodered.org/t/raspi-3-wont-install-node-red/2801.md?page=2)
