Page 1 of 1

No palette manager in node Red(how to upgrade npm)

Posted: 27 Mar 2020, 17:22
by Rox
Hi,

I have no palette manager in my node red, in the log i can see te following.
info] Palette editor disabled : npm version too old. Requires npm >= 3.x
So i think i have to upgrade npm, how to do that?

Regards

Re: No palette manager in node Red(how to upgrade npm)

Posted: 31 Mar 2020, 13:26
by Frank
Hello Rox,

if the palette manager is missing in your Node-RED installation please perfom these manual steps on the console of your RevPi device:

Code: Select all

sudo apt update
sudo apt install npm
npm install node-red-dashboard
sudo systemctl restart nodered.service

Now start 'Node-RED' in your browser with

Code: Select all

[REVPI_IP]:1880

Open the 'Burger-Menu' (three horizontal lines) top right and select 'Manage Palette'.
IMPORTANT: if 'Manage Palette' doesn't exist in the menu, your 'node.js' or 'Node-RED version is too old; please upgrade it with the console command:

Code: Select all

update-nodejs-and-nodered
and then restart the service with:

Code: Select all

sudo systemctl restart nodered.service
and refresh the 'Node-RED' webpage in your browser

Now you can select 'Manage Palette' in the 'Burger-Menu': select the tab 'Install', search for 'node-red-dashboard' and install this specific palette.

Regards,
Frank