Node-RED Version 1.2.2 – released so you can install or upgrade using the Node-RED upgrade script command

root@rpi-iot-jsho-NodeRED:~/.node-red#
root@rpi-iot-jsho-NodeRED:~/.node-red# update-nodejs-and-nodered
Root user detected. Typically install as a normal user. No need for sudo.
Are you really sure you want to install as root ? (y/N) ? y
This script will remove any pre-installed versions of node.js and Node-RED
and replace them with node.js 6.x LTS (boron) and the latest Node-RED from Npm.
To do this it runs commands as root – please satisfy yourself that this will
not damage your Pi, or otherwise compromise your configuration.
Doing this may also be ‚a bad thing‘ if you have installed lots of extra nodes.
Especially if they have any native binary component. Some nodes in your
~/.node-red directory will probably need to be re-installed afterwards, some
may need you to run npm update, and some may require you to run npm rebuild.
Are you really sure you want to do this ? (y/N) ? y
Running for user root at /root
This can take 20-30 minutes on a Pi 1 – please wait.
Stop Node-RED \u2714
Remove old version of Node-RED \u2714
Remove old version of node.js \u2714
Install node.js for Armv6 \u2714 Node v6.17.1 Npm 3.10.10
Clean npm cache \u2714
Install Node-RED core \u2714 1.2.2
Install extra nodes \u2714
Install serialport node \u2714
Npm rebuild existing nodes \u2714
Add menu shortcut \u2714
Update systemd script \u2714
Update update script \u2714
Any errors will be logged to /var/log/nodered-install.log
All done.
You can now start Node-RED with the command node-red-start
or using the icon under Menu / Programming / Node-RED
Then point your browser to localhost:1880 or http://{your_pi_ip-address}:1880
Started Fr 30. Okt 14:42:19 CET 2020 – Finished Fr 30. Okt 15:09:14 CET 2020
root@rpi-iot-jsho-NodeRED:~/.node-red#

Leave a Reply

You must be logged in to post a comment.