I had a node-red install on a windows server with the Themes working properly. Due to the tendency of the Windows server to reboot whenever it needs updating (and not restarting node-red server), we decided to move those flows to another node-red server we have, which currently uses the eye-searing white theme.
Steps I did were as follow: I did an SSH into the server, changed to the /.node-red/ directory and ran:
npm install @node-red-contrib-themes/midnight-red
I can see it created a folder with that name inside of /node-red/node-modules.
I changed settings.js to look like this, as per the instructions
editorTheme: {
theme: "midnight-red",
projects: {
enabled: false
}
}
But after restarting the server and resetting the browser cache, nothing happens, and loads the usual white UI.
If I try to install it again, I get an npm ERR! code EINVALIDTAGNAME
Invalid tag name ""~"0.3.1": Tags may not have characters that encodeURIComponent encodes.
If I try to install only midnight-red, I get the same problem.
I'll be very grateful for any ideas.