# How to solve this problem when installing node-red on a raspberry pi 3 2015

**URL:** <https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400>\
**Category:** Hardware\
**Created:** [26 June 2022 19:29 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400 "2022-06-26T19:29:01Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoanHc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joanhc/32/60070_2.png) [@JoanHc](https://discourse.nodered.org/u/JoanHc)\
**Post date:** [26 June 2022 19:29 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400/1 "2022-06-26T19:29:02Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/0/009e26db3689a8f5bcc715054313794e1d935d23.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/7/775cb6386d76861443e82204be0de9869ada5cee.jpeg)

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [26 June 2022 19:33 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400/2 "2022-06-26T19:33:24Z")

</div>

Node.js is no longer current. I believe there is a parameter that will tell it to install v14 or v16 instead.

---

<div class="post-metadata">

**Author:** ![JoanHc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joanhc/32/60070_2.png) [@JoanHc](https://discourse.nodered.org/u/JoanHc)\
**Post date:** [26 June 2022 19:36 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400/3 "2022-06-26T19:36:44Z")

</div>

in this case what to do, my friend

---

<div class="post-metadata">

**Author:** ![JoanHc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joanhc/32/60070_2.png) [@JoanHc](https://discourse.nodered.org/u/JoanHc)\
**Post date:** [26 June 2022 19:40 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400/4 "2022-06-26T19:40:40Z")

</div>

I also get a certification

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [26 June 2022 19:44 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400/5 "2022-06-26T19:44:14Z")

</div>

Run the script again with `--node14` or `--node16` added to the end

---

<div class="post-metadata">

**Author:** ![JoanHc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joanhc/32/60070_2.png) [@JoanHc](https://discourse.nodered.org/u/JoanHc)\
**Post date:** [26 June 2022 19:49 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400/6 "2022-06-26T19:49:39Z")

</div>

bash \<(curl -sL -I [https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered](https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --node16)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [26 June 2022 19:51 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400/7 "2022-06-26T19:51:57Z")

</div>

No. At the very end of the thing you originally entered (not inside brackets)

`bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --node16`

---

<div class="post-metadata">

**Author:** ![JoanHc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joanhc/32/60070_2.png) [@JoanHc](https://discourse.nodered.org/u/JoanHc)\
**Post date:** [26 June 2022 19:55 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400/8 "2022-06-26T19:55:14Z")

</div>

Good friend

---

<div class="post-metadata">

**Author:** ![JoanHc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joanhc/32/60070_2.png) [@JoanHc](https://discourse.nodered.org/u/JoanHc)\
**Post date:** [26 June 2022 20:00 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400/9 "2022-06-26T20:00:46Z")

</div>

I put the same scrip and it yields this my friend

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/2/22ebbb3329553430015eaa2c6f634bce8bd4aa54.jpeg)

---

<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:** [26 June 2022 20:30 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400/10 "2022-06-26T20:30:45Z")

</div>

Run this to update installed packages first  
`sudo apt update && sudo apt full-upgrade`  
Then run the script again. If still no joy then which version of raspbian are you running?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [26 June 2022 23:22 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400/12 "2022-06-26T23:22:57Z")

</div>

> [@JoanHc](#):
>
> raspberry pi 3 2015

That is not a version of rasbian

What does running `cat /etc/os-release` in a terminal show?

---

<div class="post-metadata">

**Author:** ![JoanHc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joanhc/32/60070_2.png) [@JoanHc](https://discourse.nodered.org/u/JoanHc)\
**Post date:** [26 June 2022 23:34 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400/13 "2022-06-26T23:34:38Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/7/f7f3d25b2d96b882ea90fcb1f7b83d3f3bf6bba3.jpeg)

---

<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:** [27 June 2022 06:06 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400/14 "2022-06-27T06:06:01Z")

</div>

I can't read that on my phone, please copy/paste text, not screen image.

Did you do the update as suggested?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [27 June 2022 08:15 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400/15 "2022-06-27T08:15:38Z")

</div>

ok, bullseye is fine.

So I would suggest you fix the certificate error.

try the following 3 steps...

### 1

```auto
sudo apt-get remove curl
sudo apt update
sudo apt upgrade
sudo reboot

```

### 2

```auto
sudo apt-get install curl
sudo update-ca-certificates --fresh

```

### 3

then try the install script once more.

`bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --node16`

---

<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:** [27 June 2022 09:10 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400/16 "2022-06-27T09:10:17Z")

</div>

It is difficult to understand how the situation has arisen with bullseye. @JoanHc is this a fresh install of raspbian bullseye or did you upgrade from a previous version somehow?

---

<div class="post-metadata">

**Author:** ![JoanHc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joanhc/32/60070_2.png) [@JoanHc](https://discourse.nodered.org/u/JoanHc)\
**Post date:** [27 June 2022 13:26 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400/17 "2022-06-27T13:26:49Z")

</div>

I did it, but it still gives the same error.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [27 June 2022 15:03 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400/18 "2022-06-27T15:03:37Z")

</div>

> [@JoanHc](#):
>
> I did it, but it still gives the same error

did you do the 3 steps i outlined?

> [@Steve-Mcl](#):
>
> ### 1
> 
> ```auto
> sudo apt-get remove curl
> sudo apt update
> sudo apt upgrade
> sudo reboot
> 
> ```
> 
> ### 2
> 
> ```auto
> sudo apt-get install curl
> sudo update-ca-certificates --fresh
> 
> ```
> 
> ### 3
> 
> then try the install script once more.

---

<div class="post-metadata">

**Author:** ![phyowai.oo7](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/phyowai.oo7/32/56086_2.png) [@phyowai.oo7](https://discourse.nodered.org/u/phyowai.oo7)\
**Post date:** [7 February 2023 15:28 UTC](https://discourse.nodered.org/t/how-to-solve-this-problem-when-installing-node-red-on-a-raspberry-pi-3-2015/64400/19 "2023-02-07T15:28:03Z")

</div>

Thanks. It works on my Pi3. I can't solve this error for 2 weeks long. Now it's fine and ready to move on.
