Remove an in-use palette in command line to install a compatible successor

Hi together,

I have Alexa-remote2 in operation and want to upgrade to a successor.
https://flows.nodered.org/node/node-red-contrib-alexa-remote2-applestrudel

The description shows an option in command line which seems not to need the delete of alle relevant nodes.

If I try that I get the (expected) message that the palette is in use.

root@raspberrypi:/home/pi# node-red admin remove node-red-contrib-alexa-remote2-v2
400: Typ in Verwendung: alexa-remote-account

Is there any way without the need of deleting the used nodes, since the successor seems to work 1:1?

In the node description, on the page you linked above, there is a section "Migration" which describes exactly what you need to do.

I don't think those migration instructions are correct. node-red admin remove will not remove an in-use module.

But you will be able to do it with npm.

In you Node-RED user directory, ~/.node-red run:

npm remove node-red-contrib-alexa-remote2-v2
npm install node-red-contrib-alexa-remote2-applestrudel

Then restart Node-RED.

2 Likes

Good to know Nick, I plan doing it myself!

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