Node-red-contrib-themes won't install


  • When I try to use the dashboard/Theme/Style/Dark, it doesn't work
  • When I try to use the dashboard/Site/Always show side menu, it doesn't work

After changing those setting, I always do a full Deploy.

I have noticed that node-red-contrib-themes is not installed. Would that explain the problem that I see?

When I try to install @node-red-contrib-themes/theme-collection, I get the following log:

2022-12-01T02:06:31.359Z Install : @node-red-contrib-themes/theme-collection 3.0.6

2022-12-01T02:06:30.334Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict @node-red-contrib-themes/theme-collection@3.0.6
2022-12-01T02:06:31.635Z [err] npm
2022-12-01T02:06:31.635Z [err]
2022-12-01T02:06:31.636Z [err] WARN config production Use --omit=dev instead.
2022-12-01T02:06:35.036Z [out]
2022-12-01T02:06:35.036Z [out] up to date in 3s
2022-12-01T02:06:35.063Z rc=0

In a terminal window, if I execute the npm install... command above with the --omit=dev, node red still show the node-red-contrib-themes not installed.

My setup is a Raspberry Pi 4 running OpenPlotter and SignalK with latest versions. SignalK has the pluggin @signalk/signalk-node-red with latest version 2.12.0.
Node red version 2.1.6
npm version 9.1.3
I see the same behavior between Chome, Edge, Chromium

Any idea how to fix those problems?

When I try to install @node-red-contrib-themes/theme-collection

from which directory did you execute the npm install ?

Do those themes even work for dashboard ?
I thought those themes were only for the node-red editor and it requires a change in settings.js where you actually set the theme, eg.

editorTheme: {
    theme: "midnight-red-scroll"

and that will require a restart of node-red.

Indeed - the editor themes are nothing to do with the dashboard theme. As well as deploying you may have to fully reload the client web page - including possibly flushing the cache.

I ran the npm install from the /home/pi Is there a specific place to run npm?

For the Dark theme, it seem to work as shown in the video Node-Red Dashboard Tutorial - YouTube at time 3:54 and 4:08

Clearing and reloading the client web page doesn't fix the issue.

Not sure what your issue is now... that screenshot shows the default dark theme is working...

You must run it from your .node-red folder (or the equivalent if you are using Docker or non-standard install).

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