Broken Node-red after update

Hello
I ask you to please help with the problem, I have very old-ubuntu machine with node-red, node-red dashboard and other plugins.

First of all my pc running on
Ubuntu 17.10 (GNU/Linux 4.13.0-46-generic x86_64)
nodejs-legacy v6.11.4
npm v3.5.2
and Node-red version was v0.18.4 was before everything worked. I cannot update this ubuntu machine for some reasons.

Everything worked before i tried updating node-red dashboard, it ask me to restart node-red and after that it didnt start.
Trying command node-red in the terminal and got:

ubu ubu-VM:~$ node-red
9 Aug 01:19:08 - [info]

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

9 Aug 01:19:08 - [info] Node-RED version: v0.18.4
9 Aug 01:19:08 - [info] Node.js  version: v6.11.4
9 Aug 01:19:08 - [info] Linux 4.13.0-46-generic x64 LE
9 Aug 01:19:08 - [info] Loading palette nodes
9 Aug 01:19:09 - [warn] ------------------------------------------------------
9 Aug 01:19:09 - [warn] [node-red/rpi-gpio] Info : Ignoring Raspberry Pi specifi                                        c node
9 Aug 01:19:09 - [warn] [node-red-dashboard/ui_audio] SyntaxError: Unexpected to                                        ken ...
9 Aug 01:19:09 - [warn] ------------------------------------------------------
9 Aug 01:19:09 - [info] Settings file  : /home/ubu/.node-red/settings.js
9 Aug 01:19:09 - [info] User directory : /home/ubu/.node-red
9 Aug 01:19:09 - [warn] Projects disabled : set editorTheme.projects.enabled=tru                                        e to enable
9 Aug 01:19:09 - [info] Flows file     : /home/ubu/.node-red/flows_ubu-VM.json
9 Aug 01:19:09 - [info] Server now running at http://127.0.0.1:3003/
9 Aug 01:19:09 - [info] Starting flows
9 Aug 01:19:09 - [info] Started flows
9 Aug 01:19:09 - [red] Uncaught Exception:
9 Aug 01:19:09 - TypeError: Cannot read property 'emit' of undefined
    at /home/ubu/.node-red/node_modules/node-red-dashboard/ui.js:444:11
    at _combinedTickCallback (internal/process/next_tick.js:73:7)
    at process._tickCallback (internal/process/next_tick.js:104:9)

Than i was trying to update Node-red itself with command
sudo npm install -g --unsafe-perm node-red
and got some problems during install:

ubu ubu-VM:~$ sudo npm install -g --unsafe-perm node-red
โ–Œ โ•ขโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
WARN engine node-red 2.0.5: wanted: {"node":">=12"} (current: {"node":"6.11.4","npm":"3.5.2"})
loadDep:bcrypt โ†’ 200      โ–„ โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
loadDep:bcrypt โ†’ addNameV โ– โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
WARN engine semver 7.3.5: wanted: {"node":">=10"} (current: {"node":"6.11.4","npm":"3.5.2"})
loadDep:bcrypt โ†’ network  โ–€ โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
loadDep:ws โ†’ request      โ–Œ โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
loadDep:moment-timezone โ†’ โ–€ โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
loadDep:universalify โ†’ ge โ–€ โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
loadDep:tar โ†’ request     โ–€ โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
loadDep:tar โ†’ headers     โ–„ โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
loadDep:lru-cache โ†’ reque โ– โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
loadDep:mkdirp โ†’ request  โ– โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
WARN engine minipass 3.1.3: wanted: {"node":">=8"} (current: {"node":"6.11.4","npm":"3.5.2"})
loadDep:mkdirp โ†’ mapToReg โ–„ โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
WARN engine minizlib 2.1.2: wanted: {"node":">= 8"} (current: {"node":"6.11.4","npm":"3.5.2"})
WARN engine mkdirp 1.0.4: wanted: {"node":">=10"} (current: {"node":"6.11.4","npm":"3.5.2"})
loadDep:iconv-lite โ†’ reso โ–„ โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
loadDep:iconv-lite โ†’ afte โ–€ โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
loadDep:iconv-lite โ†’ 200  โ– โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
loadDep:responselike โ†’ re โ–„ โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
loadDep:responselike โ†’ ma โ–€ โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
WARN engine decompress-response 6.0.0: wanted: {"node":">=10"} (current: {"node":"6.11.4","npm":"3.5.2"})
loadDep:responselike โ†’ ge โ–„ โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
WARN engine lowercase-keys 2.0.0: wanted: {"node":">=8"} (current: {"node":"6.11.4","npm":"3.5.2"})
WARN engine cacheable-lookup 5.0.4: wanted: {"node":">=10.6.0"} (current: {"node":"6.11.4","npm":"3.5.2"})
WARN engine szmarczak/http-timer 4.0.6: wanted: {"node":">=10"} (current: {"node":"6.11.4","npm":"3.5.2"})
WARN engine http2-wrapper 1.0.3: wanted: {"node":">=10.19.0"} (current: {"node":"6.11.4","npm":"3.5.2"})
loadDep:defer-to-connect  โ–„ โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
loadDep:normalize-url โ†’ g โ– โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
loadDep:normalize-url โ†’ f โ–€ โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
loadDep:json-buffer โ†’ fet โ–€ โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
loadDep:resolve-alpn โ†’ af โ–€ โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
loadDep:async-mutex โ†’ fet โ–„ โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
loadDep:read โ†’ mapToRegis โ– โ•ขโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•Ÿ
/usr/local/bin/node-red -> /usr/local/lib/node_modules/node-red/red.js
/usr/local/bin/node-red-pi -> /usr/local/lib/node_modules/node-red/bin/node-red-pi

> bcrypt 5.0.1 install /usr/local/lib/node_modules/node-red/node_modules/bcrypt
> node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! UNCAUGHT EXCEPTION
node-pre-gyp ERR! stack /usr/local/lib/node_modules/node-red/node_modules/make-dir/index.js:31
node-pre-gyp ERR! stack                 ...defaults,
node-pre-gyp ERR! stack                 ^^^
node-pre-gyp ERR! stack
node-pre-gyp ERR! stack SyntaxError: Unexpected token ...
node-pre-gyp ERR! stack     at createScript (vm.js:56:10)
node-pre-gyp ERR! stack     at Object.runInThisContext (vm.js:97:10)
node-pre-gyp ERR! stack     at Module._compile (module.js:542:28)
node-pre-gyp ERR! stack     at Object.Module._extensions..js (module.js:579:10)
node-pre-gyp ERR! stack     at Module.load (module.js:487:32)
node-pre-gyp ERR! stack     at tryModuleLoad (module.js:446:12)
node-pre-gyp ERR! stack     at Function.Module._load (module.js:438:3)
node-pre-gyp ERR! stack     at Module.require (module.js:497:17)
node-pre-gyp ERR! stack     at require (internal/module.js:20:19)
node-pre-gyp ERR! stack     at Object.<anonymous> (/usr/local/lib/node_modules/node-red/node_modules/mapbox/node-pre-gyp/lib/install.js:13:17)
node-pre-gyp ERR! System Linux 4.13.0-46-generic
node-pre-gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/node-red/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /usr/local/lib/node_modules/node-red/node_modules/bcrypt
node-pre-gyp ERR! node -v v6.11.4
node-pre-gyp ERR! node-pre-gyp -v v1.0.5
npm WARN install:bcrypt5.0.1 bcrypt5.0.1 install: `node-pre-gyp install --fallback-to-build`
npm WARN install:bcrypt5.0.1 Exit status 7
- addressparser1.0.1 node_modules/node-red/node_modules/addressparser
- array-indexofobject0.0.1 node_modules/node-red/node_modules/array-indexofobject
- asn10.2.3 node_modules/node-red/node_modules/asn1
- assert-plus1.0.0 node_modules/node-red/node_modules/assert-plus
- async-limiter1.0.0 node_modules/node-red/node_modules/async-limiter
- aws-sign20.7.0 node_modules/node-red/node_modules/aws-sign2
- aws41.6.0 node_modules/node-red/node_modules/aws4
- block-stream0.0.9 node_modules/node-red/node_modules/block-stream
- addressparser0.3.2 node_modules/node-red/node_modules/buildmail/node_modules/addressparser
- needle0.10.0 node_modules/node-red/node_modules/buildmail/node_modules/needle
- callback-stream1.1.0 node_modules/node-red/node_modules/callback-stream
- caseless0.12.0 node_modules/node-red/node_modules/caseless
- co4.6.0 node_modules/node-red/node_modules/co
- commander2.13.0 node_modules/node-red/node_modules/commander
- minimist1.2.0 node_modules/node-red/node_modules/commist/node_modules/minimist
- crc3.4.4 node_modules/node-red/node_modules/crc
- cron1.3.0 node_modules/node-red/node_modules/cron
- dashdash1.14.1 node_modules/node-red/node_modules/dashdash
- deep-extend0.4.2 node_modules/node-red/node_modules/deep-extend
- domelementtype1.1.3 node_modules/node-red/node_modules/dom-serializer/node_modules/domelementtype
- encoding0.1.12 node_modules/node-red/node_modules/encoding
- escape-string-regexp1.0.5 node_modules/node-red/node_modules/escape-string-regexp
- setprototypeof1.1.0 node_modules/node-red/node_modules/express/node_modules/setprototypeof
- statuses1.3.1 node_modules/node-red/node_modules/express/node_modules/statuses
- extend3.0.1 node_modules/node-red/node_modules/extend
- extsprintf1.3.0 node_modules/node-red/node_modules/extsprintf
- fast-json-stable-stringify2.0.0 node_modules/node-red/node_modules/fast-json-stable-stringify
- statuses1.3.1 node_modules/node-red/node_modules/finalhandler/node_modules/statuses
- debug3.1.0 node_modules/node-red/node_modules/follow-redirects/node_modules/debug
- forever-agent0.6.1 node_modules/node-red/node_modules/forever-agent
- fstream1.0.11 node_modules/node-red/node_modules/fstream
- fstream-ignore1.0.5 node_modules/node-red/node_modules/fstream-ignore
- getpass0.1.7 node_modules/node-red/node_modules/getpass
- har-schema2.0.0 node_modules/node-red/node_modules/har-schema
- har-validator5.0.3 node_modules/node-red/node_modules/har-validator
- hoek4.2.1 node_modules/node-red/node_modules/hoek
- boom5.2.0 node_modules/node-red/node_modules/cryptiles/node_modules/boom
- cryptiles3.1.2 node_modules/node-red/node_modules/cryptiles
- boom4.3.1 node_modules/node-red/node_modules/boom
- depd1.1.1 node_modules/node-red/node_modules/http-errors/node_modules/depd
- i18next-client1.10.3 node_modules/node-red/node_modules/i18next-client
- isarray0.0.1 node_modules/node-red/node_modules/imap/node_modules/isarray
- string_decoder0.10.31 node_modules/node-red/node_modules/imap/node_modules/string_decoder
- readable-stream1.1.14 node_modules/node-red/node_modules/imap/node_modules/readable-stream
- ini1.3.5 node_modules/node-red/node_modules/ini
- is-extglob2.1.1 node_modules/node-red/node_modules/is-extglob
- is-glob3.1.0 node_modules/node-red/node_modules/is-glob
- is-negated-glob1.0.0 node_modules/node-red/node_modules/is-negated-glob
- is-typedarray1.0.0 node_modules/node-red/node_modules/is-typedarray
- is-windows1.0.2 node_modules/node-red/node_modules/is-windows
- isstream0.1.2 node_modules/node-red/node_modules/isstream
- jsbn0.1.1 node_modules/node-red/node_modules/jsbn
- ecc-jsbn0.1.1 node_modules/node-red/node_modules/ecc-jsbn
- json-schema0.2.3 node_modules/node-red/node_modules/json-schema
- json50.2.0 node_modules/node-red/node_modules/json5
- jsonify0.0.0 node_modules/node-red/node_modules/jsonify
- json-stable-stringify1.0.1 node_modules/node-red/node_modules/json-stable-stringify
- keygrip1.0.2 node_modules/node-red/node_modules/keygrip
- cookies0.7.1 node_modules/node-red/node_modules/cookies
- libbase640.1.0 node_modules/node-red/node_modules/libbase64
- libqp1.1.0 node_modules/node-red/node_modules/libqp
- libmime1.2.0 node_modules/node-red/node_modules/libmime
- buildmail2.0.0 node_modules/node-red/node_modules/buildmail
- lodash.assign4.2.0 node_modules/node-red/node_modules/lodash.assign
- lodash.assignin4.2.0 node_modules/node-red/node_modules/lodash.assignin
- lodash.bind4.2.1 node_modules/node-red/node_modules/lodash.bind
- lodash.defaults4.2.0 node_modules/node-red/node_modules/lodash.defaults
- lodash.filter4.6.0 node_modules/node-red/node_modules/lodash.filter
- lodash.flatten4.4.0 node_modules/node-red/node_modules/lodash.flatten
- lodash.foreach4.5.0 node_modules/node-red/node_modules/lodash.foreach
- lodash.get4.4.2 node_modules/node-red/node_modules/lodash.get
- lodash.has4.5.2 node_modules/node-red/node_modules/lodash.has
- lodash.map4.6.0 node_modules/node-red/node_modules/lodash.map
- lodash.merge4.6.1 node_modules/node-red/node_modules/lodash.merge
- lodash.pick4.4.0 node_modules/node-red/node_modules/lodash.pick
- lodash.reduce4.6.0 node_modules/node-red/node_modules/lodash.reduce
- lodash.reject4.6.0 node_modules/node-red/node_modules/lodash.reject
- lodash.some4.6.0 node_modules/node-red/node_modules/lodash.some
- lodash.uniq4.5.0 node_modules/node-red/node_modules/lodash.uniq
- mailcomposer2.1.0 node_modules/node-red/node_modules/mailcomposer
- debug3.1.0 node_modules/node-red/node_modules/memorystore/node_modules/debug
- mimelib0.3.1 node_modules/node-red/node_modules/mimelib
- minimist1.2.0 node_modules/node-red/node_modules/mqtt/node_modules/minimist
- mri1.1.0 node_modules/node-red/node_modules/mri
- feedparser2.2.9 node_modules/node-red/node_modules/feedparser
- object-assign3.0.0 node_modules/node-red/node_modules/multer/node_modules/object-assign
- nan2.6.2 node_modules/node-red/node_modules/nan
- needle0.11.0 node_modules/node-red/node_modules/needle
- node-red-node-rbe0.2.1 node_modules/node-red/node_modules/node-red-node-rbe
- clone1.0.3 node_modules/node-red/node_modules/nodemailer-smtp-transport/node_modules/clone
- nodemailer-wellknown0.1.10 node_modules/node-red/node_modules/nodemailer-wellknown
- oauth0.9.14 node_modules/node-red/node_modules/oauth
- oauth-sign0.8.2 node_modules/node-red/node_modules/oauth-sign
- options0.0.6 node_modules/node-red/node_modules/options
- ordered-read-streams1.0.1 node_modules/node-red/node_modules/ordered-read-streams
- os-homedir1.0.2 node_modules/node-red/node_modules/os-homedir
- os-tmpdir1.0.2 node_modules/node-red/node_modules/os-tmpdir
- osenv0.1.5 node_modules/node-red/node_modules/osenv
- path-dirname1.0.2 node_modules/node-red/node_modules/path-dirname
- glob-parent3.1.0 node_modules/node-red/node_modules/glob-parent
- performance-now2.1.0 node_modules/node-red/node_modules/performance-now
- pumpify1.4.0 node_modules/node-red/node_modules/pumpify
- minimist1.2.0 node_modules/node-red/node_modules/rc/node_modules/minimist
- remove-trailing-separator1.1.0 node_modules/node-red/node_modules/remove-trailing-separator
- statuses1.3.1 node_modules/node-red/node_modules/send/node_modules/statuses
- sentiment2.1.0 node_modules/node-red/node_modules/sentiment
- smtp-connection1.3.8 node_modules/node-red/node_modules/smtp-connection
- nodemailer-smtp-transport1.1.0 node_modules/node-red/node_modules/nodemailer-smtp-transport
- nodemailer-direct-transport1.1.0 node_modules/node-red/node_modules/nodemailer-direct-transport
- nodemailer1.11.0 node_modules/node-red/node_modules/nodemailer
- sntp2.1.0 node_modules/node-red/node_modules/sntp
- hawk6.0.2 node_modules/node-red/node_modules/hawk
- source-map0.6.1 node_modules/node-red/node_modules/source-map
- stringstream0.0.5 node_modules/node-red/node_modules/stringstream
- strip-json-comments2.0.1 node_modules/node-red/node_modules/strip-json-comments
- rc1.2.5 node_modules/node-red/node_modules/rc
- through22.0.3 node_modules/node-red/node_modules/through2
- through2-filter2.0.0 node_modules/node-red/node_modules/through2-filter
- tunnel-agent0.6.0 node_modules/node-red/node_modules/tunnel-agent
- tweetnacl0.14.5 node_modules/node-red/node_modules/tweetnacl
- bcrypt-pbkdf1.0.1 node_modules/node-red/node_modules/bcrypt-pbkdf
- sshpk1.13.1 node_modules/node-red/node_modules/sshpk
- twitter-ng0.6.2 node_modules/node-red/node_modules/twitter-ng
- uid-number0.0.6 node_modules/node-red/node_modules/uid-number
- tar-pack3.4.1 node_modules/node-red/node_modules/tar-pack
- ultron1.1.1 node_modules/node-red/node_modules/ultron
- unc-path-regex0.1.2 node_modules/node-red/node_modules/unc-path-regex
- is-unc-path1.0.0 node_modules/node-red/node_modules/is-unc-path
- is-relative1.0.0 node_modules/node-red/node_modules/is-relative
- is-absolute1.0.0 node_modules/node-red/node_modules/is-absolute
- to-absolute-glob2.0.2 node_modules/node-red/node_modules/to-absolute-glob
- unique-stream2.2.1 node_modules/node-red/node_modules/unique-stream
- glob-stream6.1.0 node_modules/node-red/node_modules/glob-stream
- semver5.3.0 node_modules/node-red/node_modules/utf7/node_modules/semver
- utf71.0.2 node_modules/node-red/node_modules/utf7
- imap0.8.19 node_modules/node-red/node_modules/imap
- uue3.1.1 node_modules/node-red/node_modules/uue
- mailparser0.6.2 node_modules/node-red/node_modules/mailparser
- verror1.10.0 node_modules/node-red/node_modules/verror
- jsprim1.4.1 node_modules/node-red/node_modules/jsprim
- http-signature1.2.0 node_modules/node-red/node_modules/http-signature
- request2.85.0 node_modules/node-red/node_modules/request
- node-red-node-twitter0.1.12 node_modules/node-red/node_modules/node-red-node-twitter
- node-red-node-feedparser0.1.10 node_modules/node-red/node_modules/node-red-node-feedparser
- node-pre-gyp0.6.36 node_modules/node-red/node_modules/node-pre-gyp
- ws3.3.3 node_modules/node-red/node_modules/websocket-stream/node_modules/ws
- websocket-stream5.1.2 node_modules/node-red/node_modules/websocket-stream
- when3.7.8 node_modules/node-red/node_modules/when
- wordwrap0.0.3 node_modules/node-red/node_modules/wordwrap
- optimist0.6.1 node_modules/node-red/node_modules/optimist
- poplib0.1.7 node_modules/node-red/node_modules/poplib
- node-red-node-email0.1.24 node_modules/node-red/node_modules/node-red-node-email
- ultron1.0.2 node_modules/node-red/node_modules/ws/node_modules/ultron
/usr/local/lib
โ””โ”€โ”ฌ node-red2.0.5
  โ”œโ”€โ”ฌ  node-red/editor-api2.0.5
  โ”‚ โ”œโ”€โ”€  node-red/editor-client2.0.5
  โ”‚ โ”œโ”€โ”ฌ body-parser1.19.0
  โ”‚ โ”‚ โ”œโ”€โ”€ bytes3.1.0
  โ”‚ โ”‚ โ”œโ”€โ”ฌ debug2.6.9
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ ms2.0.0
  โ”‚ โ”‚ โ”œโ”€โ”ฌ http-errors1.7.2
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ inherits2.0.3
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ toidentifier1.0.0
  โ”‚ โ”‚ โ”œโ”€โ”€ iconv-lite0.4.24
  โ”‚ โ”‚ โ””โ”€โ”€ raw-body2.4.0
  โ”‚ โ”œโ”€โ”€ UNMET PEER DEPENDENCY bufferutil^4.0.1
  โ”‚ โ”œโ”€โ”€ clone2.1.2
  โ”‚ โ”œโ”€โ”€ cors2.8.5
  โ”‚ โ”œโ”€โ”ฌ express-session1.17.2
  โ”‚ โ”‚ โ”œโ”€โ”€ cookie0.4.1
  โ”‚ โ”‚ โ”œโ”€โ”ฌ debug2.6.9
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ ms2.0.0
  โ”‚ โ”‚ โ”œโ”€โ”€ depd2.0.0
  โ”‚ โ”‚ โ””โ”€โ”€ safe-buffer5.2.1
  โ”‚ โ”œโ”€โ”ฌ memorystore1.6.6
  โ”‚ โ”‚ โ”œโ”€โ”ฌ debug4.3.2
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ ms2.1.2
  โ”‚ โ”‚ โ””โ”€โ”ฌ lru-cache4.1.5
  โ”‚ โ”‚   โ””โ”€โ”€ yallist2.1.2
  โ”‚ โ”œโ”€โ”€ mime2.5.2
  โ”‚ โ”œโ”€โ”ฌ multer1.4.2
  โ”‚ โ”‚ โ”œโ”€โ”€ append-field1.0.0
  โ”‚ โ”‚ โ”œโ”€โ”ฌ concat-stream1.6.2
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ buffer-from1.1.2
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ readable-stream2.3.7
  โ”‚ โ”‚ โ”œโ”€โ”€ mkdirp0.5.5
  โ”‚ โ”‚ โ””โ”€โ”€ xtend4.0.2
  โ”‚ โ”œโ”€โ”€ mustache4.2.0
  โ”‚ โ”œโ”€โ”ฌ oauth2orize1.11.0
  โ”‚ โ”‚ โ””โ”€โ”ฌ debug2.6.9
  โ”‚ โ”‚   โ””โ”€โ”€ ms2.0.0
  โ”‚ โ”œโ”€โ”€ passport0.4.1
  โ”‚ โ”œโ”€โ”€ UNMET PEER DEPENDENCY utf-8-validate^5.0.2
  โ”‚ โ””โ”€โ”€ ws7.5.1
  โ”œโ”€โ”ฌnode-red/nodes2.0.5
  โ”‚ โ”œโ”€โ”€ acorn8.4.1
  โ”‚ โ”œโ”€โ”€ acorn-walk8.1.1
  โ”‚ โ”œโ”€โ”ฌ ajv8.6.0
  โ”‚ โ”‚ โ”œโ”€โ”€ fast-deep-equal3.1.3
  โ”‚ โ”‚ โ”œโ”€โ”€ json-schema-traverse1.0.0
  โ”‚ โ”‚ โ”œโ”€โ”€ require-from-string2.0.2
  โ”‚ โ”‚ โ””โ”€โ”€ uri-js4.4.1
  โ”‚ โ”œโ”€โ”€ UNMET PEER DEPENDENCY bufferutil^4.0.1
  โ”‚ โ”œโ”€โ”ฌ cheerio1.0.0-rc.10
  โ”‚ โ”‚ โ”œโ”€โ”ฌ cheerio-select1.5.0
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”ฌ css-select4.1.3
  โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ nth-check2.0.0
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ css-what5.0.1
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ domelementtype2.2.0
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ domutils2.7.0
  โ”‚ โ”‚ โ”œโ”€โ”ฌ dom-serializer1.3.2
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ entities2.2.0
  โ”‚ โ”‚ โ”œโ”€โ”€ domhandler4.2.0
  โ”‚ โ”‚ โ”œโ”€โ”€ htmlparser26.1.0
  โ”‚ โ”‚ โ”œโ”€โ”€ parse56.0.1
  โ”‚ โ”‚ โ”œโ”€โ”€ parse5-htmlparser2-tree-adapter6.0.1
  โ”‚ โ”‚ โ””โ”€โ”€ tslib2.3.0
  โ”‚ โ”œโ”€โ”€ cookie0.4.1
  โ”‚ โ”œโ”€โ”€ cookie-parser1.4.5
  โ”‚ โ”œโ”€โ”€ cronosjs1.7.1
  โ”‚ โ”œโ”€โ”€ denque1.5.0
  โ”‚ โ”œโ”€โ”ฌ form-data4.0.0
  โ”‚ โ”‚ โ”œโ”€โ”€ combined-stream1.0.8
  โ”‚ โ”‚ โ””โ”€โ”ฌ mime-types2.1.32
  โ”‚ โ”‚   โ””โ”€โ”€ mime-db1.49.0
  โ”‚ โ”œโ”€โ”ฌ got11.8.2
  โ”‚ โ”‚ โ”œโ”€โ”€ sindresorhus/is4.0.1
  โ”‚ โ”‚ โ”œโ”€โ”ฌ szmarczak/http-timer4.0.6
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ defer-to-connect2.0.1
  โ”‚ โ”‚ โ”œโ”€โ”ฌ types/cacheable-request6.0.2
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ types/http-cache-semantics4.0.1
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ ypes/keyv3.1.2
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ types/node16.4.13
  โ”‚ โ”‚ โ”œโ”€โ”€ types/responselike1.0.0
  โ”‚ โ”‚ โ”œโ”€โ”€ cacheable-lookup5.0.4
  โ”‚ โ”‚ โ”œโ”€โ”ฌ cacheable-request7.0.2
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”ฌ clone-response1.0.2
  โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ mimic-response1.0.1
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ get-stream5.2.0
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ http-cache-semantics4.1.0
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”ฌ keyv4.0.3
  โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ json-buffer3.0.1
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ normalize-url6.1.0
  โ”‚ โ”‚ โ”œโ”€โ”ฌ decompress-response6.0.0
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ mimic-response3.1.0
  โ”‚ โ”‚ โ”œโ”€โ”ฌ http2-wrapper1.0.3
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ quick-lru5.1.1
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ resolve-aln1.2.0
  โ”‚ โ”‚ โ”œโ”€โ”€ lowercase-keys2.0.0
  โ”‚ โ”‚ โ”œโ”€โ”€ p-cancelable2.1.1
  โ”‚ โ”‚ โ””โ”€โ”€ responselike2.0.0
  โ”‚ โ”œโ”€โ”€ hash-sum2.0.0
  โ”‚ โ”œโ”€โ”€ hpagent0.1.2
  โ”‚ โ”œโ”€โ”ฌ https-proxy-agent5.0.0
  โ”‚ โ”‚ โ””โ”€โ”€ agent-base6.0.2
  โ”‚ โ”œโ”€โ”ฌ iconv-lite0.6.3
  โ”‚ โ”‚ โ””โ”€โ”€ safer-buffer2.1.2
  โ”‚ โ”œโ”€โ”ฌ js-yaml3.14.1
  โ”‚ โ”‚ โ””โ”€โ”€ esprima4.0.1
  โ”‚ โ”œโ”€โ”€ media-typer1.1.0
  โ”‚ โ”œโ”€โ”ฌ mqtt4.2.8
  โ”‚ โ”‚ โ”œโ”€โ”€ UNMET PEER DEPENDENCY bufferutil^4.0.1
  โ”‚ โ”‚ โ”œโ”€โ”ฌ commist1.1.0
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ leven2.1.0
  โ”‚ โ”‚ โ”œโ”€โ”€ concat-stream2.0.0
  โ”‚ โ”‚ โ”œโ”€โ”ฌ duplexify4.1.2
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ end-of-stream1.4.4
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ readable-stream3.6.0
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ stream-shift1.0.1
  โ”‚ โ”‚ โ”œโ”€โ”ฌ help-me3.0.0
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”ฌ glob7.1.7
  โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”ฌ minimatch3.0.4
  โ”‚ โ”‚ โ”‚ โ”‚   โ””โ”€โ”ฌ brace-expansion.1.11
  โ”‚ โ”‚ โ”‚ โ”‚     โ””โ”€โ”€ balanced-match1.0.2
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ readable-stream3.6.0
  โ”‚ โ”‚ โ”œโ”€โ”€ inherits2.0.4
  โ”‚ โ”‚ โ”œโ”€โ”ฌ mqtt-packet6.10.0
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”ฌ bl4.1.0
  โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”ฌ buffer5.7.1
  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ base64-js1.5.1
  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ ieee7541.2.1
  โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ readable-stream3.6.0
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ process-nextick-args2.0.1
  โ”‚ โ”‚ โ”œโ”€โ”€ pump3.0.0
  โ”‚ โ”‚ โ”œโ”€โ”ฌ readable-stream3.6.0
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ string_decoder1.1.1
  โ”‚ โ”‚ โ”œโ”€โ”ฌ split23.2.2
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ readable-stream3.6.0
  โ”‚ โ”‚ โ””โ”€โ”€ UNMET PEER DEPENDENCY utf-8-validate^5.0.2
  โ”‚ โ”œโ”€โ”€ on-headers1.0.2
  โ”‚ โ”œโ”€โ”ฌ raw-body2.4.1
  โ”‚ โ”‚ โ”œโ”€โ”€ http-errors1.7.3
  โ”‚ โ”‚ โ””โ”€โ”€ iconv-lite0.4.24
  โ”‚ โ”œโ”€โ”ฌ tough-cookie4.0.0
  โ”‚ โ”‚ โ”œโ”€โ”€ psl1.8.0
  โ”‚ โ”‚ โ”œโ”€โ”€ punycode2.1.1
  โ”‚ โ”‚ โ””โ”€โ”€ universalify0.1.2
  โ”‚ โ”œโ”€โ”€ UNMET PEER DEPENDENCY utf-8-validate^5.0.2
  โ”‚ โ”œโ”€โ”€ uuid8.3.2
  โ”‚ โ””โ”€โ”ฌ xml2js0.4.23
  โ”‚   โ””โ”€โ”€ xmlbuilder11.0.1
  โ”œโ”€โ”ฌ node-red/runtime2.0.5
  โ”‚ โ”œโ”€โ”ฌ node-red/registry2.0.5
  โ”‚ โ”‚ โ”œโ”€โ”ฌ tar6.1.2
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ chownr2.0.0
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ fs-minipass2.1.0
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ minipass3.1.3
  โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ minizlib2.1.2
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ mkdirp1.0.4
  โ”‚ โ”‚ โ””โ”€โ”€ uglify-js3.13.10
  โ”‚ โ””โ”€โ”€ async-mutex0.3.1
  โ”œโ”€โ”ฌ node-red/util2.0.5
  โ”‚ โ”œโ”€โ”ฌ i18next20.3.2
  โ”‚ โ”‚ โ””โ”€โ”ฌ babel/runtime7.14.8
  โ”‚ โ”‚   โ””โ”€โ”€ regenerator-runtime0.13.9
  โ”‚ โ”œโ”€โ”€ jsonata1.8.4
  โ”‚ โ”œโ”€โ”€ lodash.clonedeep4.5.0
  โ”‚ โ””โ”€โ”ฌ moment-timezone0.5.33
  โ”‚   โ””โ”€โ”€ moment2.29.1
  โ”œโ”€โ”ฌ basic-auth2.0.1
  โ”‚ โ””โ”€โ”€ safe-buffer5.1.2
  โ”œโ”€โ”ฌ express4.17.1
  โ”‚ โ”œโ”€โ”ฌ accepts1.3.7
  โ”‚ โ”‚ โ””โ”€โ”€ negotiator0.6.2
  โ”‚ โ”œโ”€โ”€ content-disposition0.5.3
  โ”‚ โ”œโ”€โ”€ cookie0.4.0
  โ”‚ โ”œโ”€โ”ฌ debug2.6.9
  โ”‚ โ”‚ โ””โ”€โ”€ ms2.0.0
  โ”‚ โ”œโ”€โ”ฌ finalhandler1.1.2
  โ”‚ โ”‚ โ””โ”€โ”ฌ debug2.6.9
  โ”‚ โ”‚   โ””โ”€โ”€ ms2.0.0
  โ”‚ โ”œโ”€โ”€ parseurl1.3.3
  โ”‚ โ”œโ”€โ”ฌ proxy-addr2.0.7
  โ”‚ โ”‚ โ”œโ”€โ”€ forwarded0.2.0
  โ”‚ โ”‚ โ””โ”€โ”€ ipaddr.js1.9.1
  โ”‚ โ”œโ”€โ”€ qs6.7.0
  โ”‚ โ”œโ”€โ”€ range-parser1.2.1
  โ”‚ โ”œโ”€โ”ฌ send0.17.1
  โ”‚ โ”‚ โ”œโ”€โ”ฌ debug2.6.9
  โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ ms2.0.0
  โ”‚ โ”‚ โ”œโ”€โ”€ mime1.6.0
  โ”‚ โ”‚ โ””โ”€โ”€ ms2.1.1
  โ”‚ โ”œโ”€โ”€ serve-static1.14.1
  โ”‚ โ”œโ”€โ”€ setprototypeof1.1.1
  โ”‚ โ”œโ”€โ”€ statuses1.5.0
  โ”‚ โ””โ”€โ”€ type-is1.6.18
  โ”œโ”€โ”ฌ fs-extra10.0.0
  โ”‚ โ”œโ”€โ”€ graceful-fs4.2.8
  โ”‚ โ”œโ”€โ”€ jsonfile6.1.0
  โ”‚ โ””โ”€โ”€ universalify2.0.0
  โ”œโ”€โ”ฌ node-red-admin2.2.0
  โ”‚ โ”œโ”€โ”€ ansi-colors4.1.1
  โ”‚ โ”œโ”€โ”ฌ axios0.21.1
  โ”‚ โ”‚ โ””โ”€โ”€ follow-redirects1.14.1
  โ”‚ โ”œโ”€โ”ฌ cli-table0.3.6
  โ”‚ โ”‚ โ””โ”€โ”€ colors1.0.3
  โ”‚ โ”œโ”€โ”€ enquirer2.3.6
  โ”‚ โ”œโ”€โ”€ minimist1.2.5
  โ”‚ โ””โ”€โ”ฌ read1.0.7
  โ”‚   โ””โ”€โ”€ mute-stream0.0.8
  โ”œโ”€โ”€ nopt5.0.0
  โ””โ”€โ”ฌ semver7.3.5
    โ””โ”€โ”ฌ lru-cache6.0.0
      โ””โ”€โ”€ yallist4.0.0

npm WARN ws7.5.1 requires a peer of bufferutil^4.0.1 but none was installed.
npm WARN ws7.5.1 requires a peer of utf-8-validate^5.0.2 but none was installed.

And now if i try node-red in terminal i got:

ubu ubu-VM:~$ node-red
/usr/local/lib/node_modules/node-red/node_modules/fs-extra/lib/index.js:5
  ...require('./fs'),
  ^^^

SyntaxError: Unexpected token ...
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/node-red/red.js:38:10)

And now i'm stuck, I don't know what to do:(
Help me please to recover from this state
I will be grateful for any help

You have node.js v6 installed. That is very old and has been out of support for a long time.

The latest version of Node-RED requires Node v12 at least.

You will either need to go back to the old version of Node-RED or figure out how to update your node.js version given the old levels you have.

It might be possible to use our install script for the raspberry pi as that works on other Debian-based flavours of Linux.

But before you do anything else, make sure you have a backup of your flows (and credentials file) etc from the .node-red directory.

1 Like

Thanks for quick reply Nick.

Yes, this is a very old system with old software, but there is no way to update, since another server is installed on it...

The fact is that I'm already afraid to spoil something even further, so it seems to me the best option would be to try to return everything as it was before, so install the old version of Node-RED.

You mean this files?
Screenshot 2021-08-09 023618

Could you help me install the old version of Node-RED? Mine was v0.18.4 but I don't know what version was Node-RED dashboard

The procedure should be as follows: 1. remove the dashboard; 2. remove Node-RED; 3. Install Node-RED@0.18.1; 4. install Dashboard @ xxx

  1. To remove Node-RED can I use raspberry script But edit it for just dele program?
  2. Can it be applied also for dashboard?
  3. Am I right installing 0.18.1 i must using npm i node-red@0.18.1 ?
  4. Same for Dashboard npm i node-red-dashboard@2.4.1?

Dashboard 2.4.1 will be compatible with 0.18.1 Node-RED?
Thanks

Yes, but not node_modules. That is not required.

Not necessary

Use sudo npm install -g --unsafe-perm node-red@0.18.1

Correct. Run from the .node-red folder.

[Edit] Added sudo to node red install command above.

1 Like

Okay, thanks!

I just want to make sure that there will be conflicts between the old and the new version of Node-RED, and therefore I want to completely remove everything and reinstall it first. It turns out that there is no need for this and the Node-RED should work without deletion?

Thanks for reply)

Sorry, I don't know what ge and vche mean.

If it keeps you happy then remove the modules by all means, it won't do any harm. I have never done that when installing a new version (up or downgrade).

1 Like

Sry, for some reason my phone corrects the word 'Node-RED' to something else...

The wonders of auto-correct :slight_smile:

1 Like

Thanks guys for helping me. Now it works. What I was doing:

  1. sudo npm install -g --unsafe-perm node-red@0.18.1 using sudo because without it I got errors for permission
  2. cd .node-red and from here npm i node-red-dashboard@2.4.1
  3. check if it works with node-red and it works!

Again thanks guys for help. I hope this information will be useful for other people that can stuck with this)

1 Like

Sorry, yes, I forgot the sudo. I will correct my previous post in case anyone else finds this.

1 Like

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