For some reason I've had the following "Failed to load 'node-red-dashboard" error appear for two dashboard items, one for ui_switch and one for us_base and as a result I cannot seem to access the dashboard now
I was able to disable the ui_switch one via the palette, but I've been unable to disable the ui_base, it just does not change Any ideas ?
Here's the view within the palette, where you can see their statuses
I've also just noticed that if I open a function to see the contents, do not make any changes - but at some point later hit deploy, I receive a message to say that those function were not properly configured
Its weird, the issue seems to be more prevalent on a windows machine via IE. Accessing and redeploying the function nodes via Safari on my iPad resolved the issue with them.
Very strange! And for some reason I can access the dashboard via Safari, but the dashboard option is missing on a Windows machine..
The dashboard also has changed its default colours - from the black/grey and green to white and light blue - see below..
The bottom is just the default light theme and the top the default dark theme. You should try Edge browser on windows as that has much better JavaScript support.
then export PATH=/usr/local/lib/nodejs/node-v10.16.0-linux-armv7l/bin:$PATH
And sudo npm -i -g --unsafe-perm node-red
I can do node -v
v10.16.0
and npm -v
6.9.0
also, node-red
Welcome to Node-RED
12 Jun 12:54:06 - [info] Node-RED version: v0.20.5
12 Jun 12:54:06 - [info] Node.js version: v10.16.0
12 Jun 12:54:06 - [info] Linux 3.4.90+ arm LE
12 Jun 12:54:08 - [info] Loading palette nodes
12 Jun 12:54:15 - [warn] rpi-gpio : Raspberry Pi specific node set inactive
12 Jun 12:54:16 - [warn] rpi-gpio : Cannot find Pi RPi.GPIO python library
12 Jun 12:54:16 - [info] Dashboard version 2.15.4 started at /ui
12 Jun 12:54:18 - [info] Settings file : /home/mauricio/.node-red/settings.js
12 Jun 12:54:18 - [info] Context store : 'default' [module=memory]
12 Jun 12:54:18 - [info] User directory : /home/mauricio/.node-red
12 Jun 12:54:18 - [warn] Projects disabled : editorTheme.projects.enabled=false
12 Jun 12:54:18 - [info] Flows file : /home/mauricio/.node-red/flows_puma.json
12 Jun 12:54:18 - [warn]
But still no dashboard, installing it with
sudo npm i -g node-red-dashboard
visit broker:1880 page, receiving same messages regarding
Failed to load 'node-red-dashboard/ui_base'
SyntaxError: Unexpected token )
Failed to load 'node-red-dashboard/ui_switch'
SyntaxError: Unexpected token )
Did you run npm rebuild
as required after a change of nodejs version? I don't know if it will fix the problem you are seeing but it should be done anyway. https://nodered.org/docs/getting-started/upgrading
If that doesn't fix it then uninstall node-red-dashboard and re-install it.