# Installing NR on latest Openplotter

**URL:** <https://discourse.nodered.org/t/installing-nr-on-latest-openplotter/47559>\
**Category:** General\
**Created:** [24 June 2021 04:24 UTC](https://discourse.nodered.org/t/installing-nr-on-latest-openplotter/47559 "2021-06-24T04:24:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenkoknz](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@kenkoknz](https://discourse.nodered.org/u/kenkoknz)\
**Post date:** [24 June 2021 04:24 UTC](https://discourse.nodered.org/t/installing-nr-on-latest-openplotter/47559/1 "2021-06-24T04:24:02Z")

</div>

Just clean installed latest Openplotter on rpi and seems to work, but when I try install NR using standard Bash script, got this msg:

Running Node-RED install for user pi at /home/pi on raspbian

Node-RED v2 no longer supports Nodejs 10. Please update.

You can use the old v1 branch by specifying --nodered-version=1.\*

You can force an install of node 12 or 14 by using the --node12 or --node14 parameter  
However doing so may break some nodes that may need re-installing manually.  
Generally it is recommended to upgrade all nodes to their latest versions before upgrading.

Please backup your installation and flows before upgrading.

Exiting now.

Not sure what to do next.  
Thanks,  
Ken

---

<div class="post-metadata">

**Author:** ![Gunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gunner/32/43582_2.png) [@Gunner](https://discourse.nodered.org/u/Gunner)\
**Post date:** [24 June 2021 04:30 UTC](https://discourse.nodered.org/t/installing-nr-on-latest-openplotter/47559/2 "2021-06-24T04:30:06Z")

</div>

> [@kenkoknz](#):
>
> --node14

I had same thing. I just added the **--node14** to the end of the bash script and it updated my NodeJS as part of the installation.

```auto
pi@raspberrypi3:~ $ node -v
v14.17.1

```

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [24 June 2021 06:38 UTC](https://discourse.nodered.org/t/installing-nr-on-latest-openplotter/47559/3 "2021-06-24T06:38:16Z")

</div>

What command exactly did you run? The main script should not be defaulting to Node-RED 2.0 yet as it is still in beta.

---

<div class="post-metadata">

**Author:** ![Gunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gunner/32/43582_2.png) [@Gunner](https://discourse.nodered.org/u/Gunner)\
**Post date:** [24 June 2021 06:47 UTC](https://discourse.nodered.org/t/installing-nr-on-latest-openplotter/47559/4 "2021-06-24T06:47:58Z")

</div>

> [@knolleary](#):
>
> What command exactly did you run?

Me or the OP?

According to my RPi history I used this (the 2nd time)...

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

After following this page...

- [Running on Raspberry Pi : Node-RED](https://nodered.org/docs/getting-started/raspberrypi)

---

<div class="post-metadata">

**Author:** ![kenkoknz](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@kenkoknz](https://discourse.nodered.org/u/kenkoknz)\
**Post date:** [24 June 2021 22:50 UTC](https://discourse.nodered.org/t/installing-nr-on-latest-openplotter/47559/5 "2021-06-24T22:50:59Z")

</div>

Hi @knolleary ,  
I downloaded Openplotter latest imge file.  
After installation, shows:

pi@openplotter:~ $ cat /etc/os-release  
PRETTY\_NAME="Raspbian GNU/Linux 10 (buster)"  
NAME="Raspbian GNU/Linux"  
VERSION\_ID="10"  
VERSION="10 (buster)"  
VERSION\_CODENAME=buster

pi@openplotter:~ $ node -v  
v10.24.1

All working fine, then I cut & paste the script as per [Running on Raspberry Pi : Node-RED](https://nodered.org/docs/getting-started/raspberrypi), and was expecting:  
the script to:

- remove the pre-packaged version of Node-RED and Node.js if they are present
- install the current Node.js LTS release using the [NodeSource](https://github.com/nodesource/distributions/blob/master/README.md). If it detects Node.js is already installed from NodeSource, it will ensure it is at least Node 12, but otherwise leave it alone
- install the latest version of Node-RED using npm,  
but got the "Node-RED v2 no longer supports Nodejs 10. Please update".

It appears that the script is trying to install NRv2, even then I would have thought that it would also update the node version?

---

<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:** [25 June 2021 07:45 UTC](https://discourse.nodered.org/t/installing-nr-on-latest-openplotter/47559/6 "2021-06-25T07:45:39Z")

</div>

Please post here the contents of the install log file (/var/log/nodered-install.log).

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [25 June 2021 08:09 UTC](https://discourse.nodered.org/t/installing-nr-on-latest-openplotter/47559/7 "2021-06-25T08:09:14Z")

</div>

apologies - got slightly ahead of myself with the wording in the script.  
yes the new version does require you to specify the nodejs version - but it will still only install Node-RED v1 as that is still "latest" - so doing as Gunnar suggest should work.  
(I have removed the v2 words for now 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [24 August 2021 08:10 UTC](https://discourse.nodered.org/t/installing-nr-on-latest-openplotter/47559/8 "2021-08-24T08:10:06Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
