[SOLVED] Problem with dashboard installation

Hi I installed node-red-dashboard using the manage palette menu (see screenshot 1)

Right after the installation I saw some nodes and the Dashboard tab (see screenshot 2). As you can see there is no way to create a new layout from the dashboard tab.
I restarted node-red right after that, and now I see no more the nodes or dashboard tab (see screenshot 3)


(sorry I had to concatenate the pictures due to limitations imposed to new user...)

here is the console output:

Welcome to Node-RED
===================

21 Feb 10:54:29 - [info] Node-RED version: v0.19.5
21 Feb 10:54:29 - [info] Node.js  version: v4.2.6
21 Feb 10:54:29 - [info] Linux 4.15.0-39-generic x64 LE
21 Feb 10:54:29 - [info] Loading palette nodes
21 Feb 10:54:29 - [warn] rpi-gpio : Raspberry Pi specific node set inactive
21 Feb 10:54:29 - [warn] rpi-gpio : Cannot find Pi RPi.GPIO python library
21 Feb 10:54:30 - [warn] ------------------------------------------------------
21 Feb 10:54:30 - [warn] [node-red-dashboard/ui_audio] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
21 Feb 10:54:30 - [warn] [node-red-dashboard/ui_base] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
21 Feb 10:54:30 - [warn] [node-red-dashboard/ui_button] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
21 Feb 10:54:30 - [warn] [node-red-dashboard/ui_chart] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
21 Feb 10:54:30 - [warn] [node-red-dashboard/ui_colour_picker] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
21 Feb 10:54:30 - [warn] [node-red-dashboard/ui_date_picker] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
21 Feb 10:54:30 - [warn] [node-red-dashboard/ui_dropdown] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
21 Feb 10:54:30 - [warn] [node-red-dashboard/ui_form] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
21 Feb 10:54:30 - [warn] [node-red-dashboard/ui_gauge] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
21 Feb 10:54:30 - [warn] [node-red-dashboard/ui_link] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
21 Feb 10:54:30 - [warn] [node-red-dashboard/ui_numeric] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
21 Feb 10:54:30 - [warn] [node-red-dashboard/ui_slider] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
21 Feb 10:54:30 - [warn] [node-red-dashboard/ui_spacer] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
21 Feb 10:54:30 - [warn] [node-red-dashboard/ui_switch] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
21 Feb 10:54:30 - [warn] [node-red-dashboard/ui_template] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
21 Feb 10:54:30 - [warn] [node-red-dashboard/ui_text] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
21 Feb 10:54:30 - [warn] [node-red-dashboard/ui_text_input] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
21 Feb 10:54:30 - [warn] [node-red-dashboard/ui_toast] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
21 Feb 10:54:30 - [warn] [node-red-dashboard/ui_ui_control] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
21 Feb 10:54:30 - [warn] ------------------------------------------------------
21 Feb 10:54:30 - [info] Settings file  : /home/user/.node-red/settings.js
21 Feb 10:54:30 - [info] Context store  : 'default' [module=memory]
21 Feb 10:54:30 - [info] User directory : /home/user/.node-red
21 Feb 10:54:30 - [warn] Projects disabled : editorTheme.projects.enabled=false
21 Feb 10:54:30 - [info] Flows file     : /home/user/.node-red/flows_satyricon.json
21 Feb 10:54:30 - [info] Server now running at http://127.0.0.1:1880/
21 Feb 10:54:30 - [warn] 

---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.

You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------

21 Feb 10:54:30 - [info] Starting flows
21 Feb 10:54:30 - [info] Started flows

(I'm using Ubuntu 16.04, I can't upgrade it to 18.04)

Your version of node.js is too old and not supported. Please upgrade. If using Ubuntu you should be able to use the same script as for the Raspberry pi

ok got it!
I did:

$ curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -

then

$ sudo apt install -y nodejs

now I see eveything.
Thank you dceejay

source: https://thisdavej.com/beginners-guide-to-installing-node-js-on-a-raspberry-pi/

You might have been better to stick to 10, which is the latest LTS. There may be some nodes not compatible with 11. However if all is working then you should be all right.

Hi Colin,
how can specify the version I want? I would prefer to use a LTS version. I don't want to put effort on upgrading stuff all the time...

The 11 in the curl command you used specifies version 11.x. Replace that with 10. Not sure if there will be an issue with the fact you have already installed 11.

ok thx.
I'm in a sandbox, I will repeat the whole process later. That moment I will change 11 to 10

If you are rebuilding the install then the easiest way to get everything setup on Ubuntu is to use the Pi install/upgrade script from the install docs. That will install node-red, npm, nodejs and the systemd script for auto run on boot if you need it.
https://nodered.org/docs/hardware/raspberrypi

thx, I will try that