From 9917cb9be517bd4e44918dbe06d17d7a6522d1b1 Mon Sep 17 00:00:00 2001 From: MichaIng Date: Thu, 4 Jul 2024 22:13:30 +0200 Subject: [PATCH] Update Node-RED update info --- docs/software/hardware_projects.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/software/hardware_projects.md b/docs/software/hardware_projects.md index c7c849fad..9fe2c87d5 100644 --- a/docs/software/hardware_projects.md +++ b/docs/software/hardware_projects.md @@ -273,12 +273,18 @@ Node-RED is a visual tool for wiring together hardware devices, APIs and online ```sh systemctl stop node-red cd /mnt/dietpi_userdata/node-red - sudo -u nodered npm up --no-audit node-red + sudo -u nodered npm i --no-audit node-red@latest systemctl start node-red ``` The current Node-RED version can be read in the programming IDE in the *burger menu* at the right upper corner. + Newer Node-RED versions might require a newer Node.js version. If this is the case, to update Node.js as well, easiest is to reinstall Node-RED. Your additional plugins, data and configs are preserved: + + ```sh + dietpi-software reinstall 122 + ``` + *** Website: