Dashboard does not load with node red v0.15.3

Dashboard does not load with node red v0.15.3 , see below:

the Raspberry Pi has an ARMv7L, this is the reason that the update script op github does not work

Welcome to Node-RED

22 Dec 18:33:20 - [info] Node-RED version: v0.15.3
22 Dec 18:33:20 - [info] Node.js version: v8.9.0
22 Dec 18:33:20 - [info] Linux 5.10.87-v7+ arm LE
22 Dec 18:33:21 - [info] Loading palette nodes
22 Dec 18:33:22 - [warn] [node-red-dashboard] Node module cannot be loaded on this version. Requires: >=1.0.0
22 Dec 18:33:25 - [warn] ------------------------------------------------------
22 Dec 18:33:25 - [warn] [serialport] Error: Module did not self-register.
22 Dec 18:33:25 - [warn] ------------------------------------------------------
22 Dec 18:33:25 - [info] Settings file : /home/pi/.node-red/settings.js
22 Dec 18:33:25 - [info] User directory : /home/pi/.node-red
22 Dec 18:33:25 - [info] Flows file : /home/pi/.node-red/flows_PiBerry.json
22 Dec 18:33:25 - [warn] Communication server error: Error: listen EADDRINUSE 0.0.0.0:1880
22 Dec 18:33:25 - [error] Unable to listen on http://127.0.0.1:1880/
22 Dec 18:33:25 - [error] Error: port in use

Welcome to the forum @BerryJansenPi

How do you know the upgrade script will not work?

What model pi is it?

What version of Raspbian are you running?

Hi Colin
Thanks for your quick response,

I run the script without any success.
In the header of the script not armv7l mask see below..

My version is;
pi@PiBerry:~ $ uname -a
Linux PiBerry 5.10.87-v7+ #1502 SMP Fri Dec 17 15:12:24 GMT 2021 armv7l GNU/Linux
pi@PiBerry:~ $ cat /etc/debian_version
8.0

umask 0022
tgta12=12.22.7 # need armv6l latest from Index of /download/release/
tgtl12=12.16.3 # need x86 latest from Index of /download/release/
tgta14=14.18.1 # need armv6l latest from Index of /download/release/
tgtl14=14.18.1 # need x86 latest from Index of /download/release/
tgta16=16.13.0 # need armv6l latest from Index of /download/release/
tgtl16=16.13.0 # need x86 latest from Index of /download/release/

You are using Jessie, which is out of support. I don't know whether that stops the script from running. The hardware version is not a problem.

Please run the script then paste the contents of the log file /var/log/nodered-install.log. If it is too large to paste here then put it on a public sharing site.

[Edit] Before running the script, make sure that you can run this without any errors
sudo apt update && sudo apt full-upgrade

[Further edit] By "the script" in your first post I presume you mean the one from Running on Raspberry Pi : Node-RED

Berry, couple of things. (1) you are on a very, very, very old release of Node-RED. The current version is 2.1.x
(2) if you look at the log you posted, it tells you the dashboard needs at least v1.0.0
(3) your log shows there is already a version of NR running.

How did you install Node-Red? Where did you get it from?
Have you read the documentation? Getting Started : Node-RED

Hi Zenofund,
thanks for your reply. The reason of the old version of node red is this post I cannot update this version.
Yes I read the documentation and many others. the do not offer me a solution.

Thanks Colin.

The Jessi I used for a previous project with NetBeans, I wil run a fresh installation and retry to run node red with dashboard. I let you know the results
regards Berry

If you absolutely have to stay with an old version of Node-RED for some reason, you will have to track down a version of Dashboard that works with it and install that. You can install older versions manually from the command line.

Thanks for your response,
I just started with node red and this version was installed with the raspberry OS.
I creating a new os image on the SD card. See what is happenning. I will post the results

pi@PiBerry:/var/log $ cat nodered-install.log
Already have nodejs v12.22.5
OLD nodejs 12 :
NEW nodejs :


Started : do 23 dec 2021 20:16:56 CET
Running for user pi at /home/pi
Found global nodes: node-red-contrib-play-audio
node-red-node-pi-gpio
node-red-node-ping
node-red-node-random
node-red-node-serialport
node-red-node-smooth :

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Pakketlijsten worden ingelezen...
Boom van vereisten wordt opgebouwd...
De statusinformatie wordt gelezen...
Het volgende pakket is automatisch geïnstalleerd en is niet langer nodig:
libfuse2
Gebruik 'sudo apt autoremove' om het te verwijderen.
De volgende pakketten zullen VERWIJDERD worden:
nodered
0 opgewaardeerd, 0 nieuw geïnstalleerd, 1 te verwijderen en 0 niet opgewaardeerd.
Na deze bewerking zal er 67,3 MB schijfruimte vrijkomen.
(Database wordt ingelezen ... 130995 bestanden en mappen momenteel geïnstalleerd.)
nodered (2.1.4-2) wordt verwijderd ...
Bezig met afhandelen van triggers voor hicolor-icon-theme (0.17-2) ...
Bezig met afhandelen van triggers voor gnome-menus (3.36.0-1) ...
Bezig met afhandelen van triggers voor mailcap (3.69) ...
Bezig met afhandelen van triggers voor desktop-file-utils (0.26-1) ...

Versions: node:v12.22.5 npm:7.5.2
Now install Node-RED

added 293 packages in 1m
2.1.4
Now create basic package.json for the user and move any global nodes

added 82 packages in 46s
Installing extra nodes: node-red-node-pi-gpio@latest node-red-node-random@latest node-red-node-ping@latest node-red-contrib-play-audio@latest node-red-node-smooth@latest node-red-node-serialport@latest :

up to date in 3s
Now add the shortcut and start/stop/log scripts to the menu
Now add systemd script and configure it for pi
ln: kan geen symbolische koppeling '/usr/bin/python' aanmaken: Bestand bestaat al
Now add launcher to top bar, add cpu temp example, make sure ping works
De gebruiker pi' is reeds lid van gpio'.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Pakketlijsten worden ingelezen...
Boom van vereisten wordt opgebouwd...
De statusinformatie wordt gelezen...
python3-rpi.gpio is reeds de nieuwste versie (0.7.0-0.2+b1).
Het volgende pakket is automatisch geïnstalleerd en is niet langer nodig:
libfuse2
Gebruik 'sudo apt autoremove' om het te verwijderen.
0 opgewaardeerd, 0 nieuw geïnstalleerd, 0 te verwijderen en 0 niet opgewaardeerd.
Memory : 1,0G
Started : do 23 dec 2021 20:16:56 CET
Finished: do 23 dec 2021 20:19:59 CET
Already have nodejs v12.22.5
OLD nodejs 12 :
NEW nodejs :


Started : do 23 dec 2021 21:48:42 CET
Running for user pi at /home/pi
Found global nodes: :

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Pakketlijsten worden ingelezen...
Boom van vereisten wordt opgebouwd...
De statusinformatie wordt gelezen...
Pakket 'nodered' is niet geïnstalleerd, en wordt dus niet verwijderd
Het volgende pakket is automatisch geïnstalleerd en is niet langer nodig:
libfuse2
Gebruik 'sudo apt autoremove' om het te verwijderen.
0 opgewaardeerd, 0 nieuw geïnstalleerd, 0 te verwijderen en 0 niet opgewaardeerd.

Versions: node:v12.22.5 npm:7.5.2
Now install Node-RED

added 293 packages in 1m

pi@PiBerry:~/.npm/_logs $ cat 2021*
0 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'i', 'node-red/node-red-dashboard' ]
1 info using npm@7.5.2
2 info using node@v12.22.5
3 timing config:load:defaults Completed in 9ms
4 timing config:load:file:/usr/share/nodejs/npm/npmrc Completed in 10ms
5 timing config:load:builtin Completed in 11ms
6 timing config:load:cli Completed in 11ms
7 timing config:load:env Completed in 2ms
8 timing config:load:file:/home/pi/node-red/.npmrc Completed in 1ms
9 timing config:load:project Completed in 5ms
10 timing config:load:file:/home/pi/.npmrc Completed in 2ms
11 timing config:load:user Completed in 2ms
12 timing config:load:file:/etc/npmrc Completed in 1ms
13 timing config:load:global Completed in 1ms
14 timing config:load:cafile Completed in 1ms
15 timing config:load:validate Completed in 4ms
16 timing config:load:setUserAgent Completed in 3ms
17 timing config:load:setEnvs Completed in 6ms
18 timing config:load Completed in 56ms
19 verbose npm-session b5f64fcd2424df21
20 timing npm:load Completed in 108ms
21 timing arborist:ctor Completed in 5ms
22 timing idealTree:init Completed in 3384ms
23 timing arborist:ctor Completed in 1ms
24 timing idealTree:userRequests Completed in 6839ms
25 silly idealTree buildDeps
26 silly fetch manifest node-red-dashboard@node-red/node-red-dashboard
27 silly placeDep ROOT node-red-dashboard@3.1.3 REPLACE for: node-red@2.1.4 want: node-red/node-red-dashboard
28 timing idealTree:#root Completed in 4638ms
29 timing idealTree:node_modules/node-red-dashboard Completed in 0ms
30 timing idealTree:buildDeps Completed in 4648ms
31 timing idealTree:fixDepFlags Completed in 105ms
32 warn EBADENGINE Unsupported engine {
32 warn EBADENGINE package: 'dmd@6.0.0',
32 warn EBADENGINE required: { node: '>=14' },
32 warn EBADENGINE current: { node: 'v12.22.5', npm: '7.5.2' }
32 warn EBADENGINE }
33 warn EBADENGINE Unsupported engine {
33 warn EBADENGINE package: 'grunt-jsdoc-to-markdown@6.0.0',
33 warn EBADENGINE required: { node: '>=14' },
33 warn EBADENGINE current: { node: 'v12.22.5', npm: '7.5.2' }
33 warn EBADENGINE }
34 warn EBADENGINE Unsupported engine {
34 warn EBADENGINE package: 'jsdoc-parse@6.0.1',
34 warn EBADENGINE required: { node: '>=14' },
34 warn EBADENGINE current: { node: 'v12.22.5', npm: '7.5.2' }
34 warn EBADENGINE }
35 timing idealTree Completed in 15116ms
36 timing reify:loadTrees Completed in 15122ms
37 timing reify:diffTrees Completed in 175ms
38 silly reify mark retired [ '/home/pi/node-red/node_modules/node-red-dashboard' ]
39 silly reify moves {
39 silly reify '/home/pi/node-red/node_modules/node-red-dashboard': '/home/pi/node-red/node_modules/.node-red-dashboard-j5s0wFDe'
39 silly reify }
40 timing reify:retireShallow Completed in 14ms
41 timing reify:createSparse Completed in 3ms
42 timing reify:loadBundles Completed in 0ms
43 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 904ms
44 timing auditReport:getReport Completed in 926ms
45 timing metavuln:cache:get:security-advisory:ansi-regex:gipfqiXURkkimm8+IyoEer5YC1ntqyorXe7xXSHfbxT4Q2N0cl4sjpCXLBfNQSZpCf2C6BCCpq61JXzBTOWL+g== Completed in 216ms
46 http fetch GET 304 https://registry.npmjs.org/ansi-regex 362ms (from cache)
47 timing metavuln:packument:ansi-regex Completed in 372ms
48 timing metavuln:load:security-advisory:ansi-regex:1004946 Completed in 5ms
49 timing metavuln:calculate:security-advisory:ansi-regex:1004946 Completed in 381ms
50 timing metavuln:cache:get:security-advisory:strip-ansi:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 47ms
51 http fetch GET 304 https://registry.npmjs.org/strip-ansi 164ms (from cache)
52 timing metavuln:packument:strip-ansi Completed in 171ms
53 timing metavuln:load:security-advisory:strip-ansi:gipfqiXURkkimm8+IyoEer5YC1ntqyorXe7xXSHfbxT4Q2N0cl4sjpCXLBfNQSZpCf2C6BCCpq61JXzBTOWL+g== Completed in 1ms
54 timing metavuln:calculate:security-advisory:strip-ansi:gipfqiXURkkimm8+IyoEer5YC1ntqyorXe7xXSHfbxT4Q2N0cl4sjpCXLBfNQSZpCf2C6BCCpq61JXzBTOWL+g== Completed in 174ms
55 timing metavuln:cache:get:security-advisory:cliui:7d3FZGcI3zHMZwOEJ7z64Yya3CeS8V9Yp1mUPqnkRhYfe1AhvBDG2H8PbANiJB6NNtMXuaGQGEmGWKyUIVPg3w== Completed in 123ms
56 timing metavuln:cache:get:security-advisory:string-width:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 119ms
57 timing metavuln:cache:get:security-advisory:wrap-ansi:GHlqgCTSc3dwtjMoQl6niHwnwCGUim0UjGppBrfJQzwA3E5oOFtnX/Dq+IC4H0kqX6j5CocvPBNIsu8VJbeufA== Completed in 113ms
58 http fetch GET 304 https://registry.npmjs.org/cliui 280ms (from cache)
59 timing metavuln:packument:cliui Completed in 287ms
60 timing metavuln:load:security-advisory:cliui:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 1ms
61 timing metavuln:calculate:security-advisory:cliui:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 290ms
62 http fetch GET 304 https://registry.npmjs.org/string-width 535ms (from cache)
63 timing metavuln:packument:string-width Completed in 540ms
64 timing metavuln:load:security-advisory:string-width:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 2ms
65 timing metavuln:calculate:security-advisory:string-width:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 543ms
66 http fetch GET 304 https://registry.npmjs.org/wrap-ansi 534ms (from cache)
67 timing metavuln:packument:wrap-ansi Completed in 539ms
68 timing metavuln:load:security-advisory:wrap-ansi:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 1ms
69 timing metavuln:calculate:security-advisory:wrap-ansi:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 541ms
70 timing metavuln:cache:get:security-advisory:yargs:sEQW/iRTpyQRNB6hQsxF7xOlMLlyV4sqa2brC9oz1fcV33UocNP/jtG9oNUHw7v4JTvcrzNRdQEGFoHvXqJiXA== Completed in 43ms
71 http fetch GET 304 https://registry.npmjs.org/yargs 881ms (from cache)
72 timing metavuln:packument:yargs Completed in 904ms
73 timing metavuln:load:security-advisory:yargs:7d3FZGcI3zHMZwOEJ7z64Yya3CeS8V9Yp1mUPqnkRhYfe1AhvBDG2H8PbANiJB6NNtMXuaGQGEmGWKyUIVPg3w== Completed in 19ms
74 timing metavuln:calculate:security-advisory:yargs:7d3FZGcI3zHMZwOEJ7z64Yya3CeS8V9Yp1mUPqnkRhYfe1AhvBDG2H8PbANiJB6NNtMXuaGQGEmGWKyUIVPg3w== Completed in 924ms
75 timing metavuln:cache:get:security-advisory:cliui:2gbc6+LrUTrmS9/1of6t2ConpwkXUvhGLxrWKb9OKsYXzelT/nvJ8pLGFowk0Q0AAL7vm/IAl6mjO77yfQ1FlA== Completed in 28ms
76 timing metavuln:load:security-advisory:cliui:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 2ms
77 timing metavuln:calculate:security-advisory:cliui:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 30ms
78 timing metavuln:cache:get:security-advisory:wrap-ansi:bBNGWPaeIczlySXOiHEe7fItDCJRl0j7uIYLEUVtmxvynJ8Jub47NupYgKQyGIiFZF6n3QExmGhvEjwo4bV+Hw== Completed in 31ms
79 timing metavuln:load:security-advisory:wrap-ansi:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 1ms
80 timing metavuln:calculate:security-advisory:wrap-ansi:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 32ms
81 timing metavuln:cache:get:security-advisory:yargs:BOa2Al3idP5OlOreEdnVQi68smAzGPOhWohGdtS8trVu5DacMa8X/tmqHH8v0P7xOBCZgrfoFATVy/B3qs1pTg== Completed in 33ms
82 timing metavuln:load:security-advisory:yargs:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 52ms
83 timing metavuln:calculate:security-advisory:yargs:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 85ms
84 timing metavuln:cache:get:security-advisory:cliui:YvvwN3bPbpjXv4F1ffT9cm5JB9+i7WRwRf1M+p+fSCpbKcM/RmEuIXTOH4OS9E3TQgOYTBM0HKslgem1lsj+nQ== Completed in 15ms
85 timing metavuln:load:security-advisory:cliui:GHlqgCTSc3dwtjMoQl6niHwnwCGUim0UjGppBrfJQzwA3E5oOFtnX/Dq+IC4H0kqX6j5CocvPBNIsu8VJbeufA== Completed in 1ms
86 timing metavuln:calculate:security-advisory:cliui:GHlqgCTSc3dwtjMoQl6niHwnwCGUim0UjGppBrfJQzwA3E5oOFtnX/Dq+IC4H0kqX6j5CocvPBNIsu8VJbeufA== Completed in 17ms
87 timing metavuln:cache:get:security-advisory:nyc:pr3dYFriWiyMozTCO+d9MyQ32k694B3oKPH8vnXEQh7Qv/g0ipUbuTE7MuOO2OkPp+OcGysn03kf0a+8gF2YXA== Completed in 53ms
88 http fetch GET 304 https://registry.npmjs.org/nyc 407ms (from cache)
89 timing metavuln:packument:nyc Completed in 435ms
90 timing metavuln:load:security-advisory:nyc:sEQW/iRTpyQRNB6hQsxF7xOlMLlyV4sqa2brC9oz1fcV33UocNP/jtG9oNUHw7v4JTvcrzNRdQEGFoHvXqJiXA== Completed in 13ms
91 timing metavuln:calculate:security-advisory:nyc:sEQW/iRTpyQRNB6hQsxF7xOlMLlyV4sqa2brC9oz1fcV33UocNP/jtG9oNUHw7v4JTvcrzNRdQEGFoHvXqJiXA== Completed in 448ms
92 timing metavuln:cache:get:security-advisory:grunt-simple-nyc:AHkSYrA7T/JdnEKaEt6AKj49nZlES4JBnfoul9S/1BZqsopwFnU8yleqUJqACvyvfY/fCZMqzdnjFBfSkUSxGg== Completed in 49ms
93 http fetch GET 200 https://codeload.github.com/node-red/node-red-dashboard/tar.gz/50d00138179212949d0f50280b3bbb4fc86b88b2 3310ms
94 http fetch GET 304 https://registry.npmjs.org/grunt-simple-nyc 982ms (from cache)
95 timing metavuln:packument:grunt-simple-nyc Completed in 987ms
96 timing metavuln:load:security-advisory:grunt-simple-nyc:pr3dYFriWiyMozTCO+d9MyQ32k694B3oKPH8vnXEQh7Qv/g0ipUbuTE7MuOO2OkPp+OcGysn03kf0a+8gF2YXA== Completed in 1ms
97 timing metavuln:calculate:security-advisory:grunt-simple-nyc:pr3dYFriWiyMozTCO+d9MyQ32k694B3oKPH8vnXEQh7Qv/g0ipUbuTE7MuOO2OkPp+OcGysn03kf0a+8gF2YXA== Completed in 989ms
98 timing auditReport:init Completed in 3619ms
99 timing reify:audit Completed in 4549ms
100 timing reify:rollback:createSparse Completed in 4ms
101 timing reify:rollback:retireShallow Completed in 3ms
102 timing command:install Completed in 264629ms
103 verbose stack Error: git dep preparation failed
103 verbose stack at ChildProcess. (/usr/share/nodejs/@npmcli/promise-spawn/index.js:64:27)
103 verbose stack at ChildProcess.emit (events.js:314:20)
103 verbose stack at maybeClose (internal/child_process.js:1022:16)
103 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
104 verbose cwd /home/pi/node-red
105 verbose Linux 5.10.63-v7+
106 verbose argv "/usr/bin/node" "/usr/bin/npm" "i" "node-red/node-red-dashboard"
107 verbose node v12.22.5
108 verbose npm v7.5.2
109 error code 1
110 error git dep preparation failed
111 error command /usr/bin/node /usr/share/nodejs/npm/bin/npm-cli.js install --force --cache=/home/pi/.npm/_cacache --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit
112 error npm WARN using --force Recommended protections disabled.
112 error npm WARN deprecated resolve-url@0.2.1: GitHub - lydell/resolve-url: [DEPRECATED] Like Node.js’ `path.resolve`/`url.resolve` for the browser.
112 error npm WARN deprecated har-validator@5.1.5: this library is no longer supported
112 error npm WARN deprecated urix@0.1.0: Please see GitHub - lydell/urix: [DEPRECATED] Makes Windows-style paths more unix and URI friendly.
112 error npm WARN deprecated jscs-preset-wikimedia@1.0.1: No longer maintained. We recomment migrating to ESLint with eslint-config-wikimedia.
112 error npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
112 error npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details.
112 error npm WARN deprecated uuid@2.0.3: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details.
112 error npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
112 error npm WARN deprecated gulp-jscs@4.1.0: JSCS is deprecated. Switch to ESLint.
112 error npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
112 error npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at The Problem with gulp-util. A little postmortem | by Janiceilene | gulpjs | Medium
112 error npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'
112 error npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
112 error npm WARN deprecated request@2.88.2: request has been deprecated, see Request’s Past, Present and Future · Issue #3142 · request/request · GitHub
112 error npm WARN deprecated CSSselect@0.4.1: the module is now available as 'css-select'
112 error npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
112 error npm WARN deprecated jscs@3.0.7: JSCS has merged with ESLint! See - JSCS — end of the line. JSCS 3.0 is finally out, and we are… | by Oleg Gaidarenko | Medium
112 error npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
112 error npm ERR! code 1
112 error npm ERR! path /home/pi/.npm/_cacache/tmp/git-clone-5da6280e/node_modules/node-sass
112 error npm ERR! command failed
112 error npm ERR! command sh -c node scripts/build.js
112 error npm ERR! Building: /usr/bin/node /home/pi/.npm/_cacache/tmp/git-clone-5da6280e/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
112 error npm ERR! gyp info it worked if it ends with ok
112 error npm ERR! gyp verb cli [
112 error npm ERR! gyp verb cli '/usr/bin/node',
112 error npm ERR! gyp verb cli '/home/pi/.npm/_cacache/tmp/git-clone-5da6280e/node_modules/node-gyp/bin/node-gyp.js',
112 error npm ERR! gyp verb cli 'rebuild',
112 error npm ERR! gyp verb cli '--verbose',
112 error npm ERR! gyp verb cli '--libsass_ext=',
112 error npm ERR! gyp verb cli '--libsass_cflags=',
112 error npm ERR! gyp verb cli '--libsass_ldflags=',
112 error npm ERR! gyp verb cli '--libsass_library='
112 error npm ERR! gyp verb cli ]
112 error npm ERR! gyp info using node-gyp@3.8.0
112 error npm ERR! gyp info using node@12.22.5 | linux | arm
112 error npm ERR! gyp verb command rebuild
112 error npm ERR! gyp verb command clean
112 error npm ERR! gyp verb clean removing "build" directory
112 error npm ERR! gyp verb command configure
112 error npm ERR! gyp verb check python checking for Python executable "python2" in the PATH
112 error npm ERR! gyp verb which failed Error: not found: python2
112 error npm ERR! gyp verb which failed at getNotFoundError (/home/pi/.npm/_cacache/tmp/git-clone-5da6280e/node_modules/which/which.js:13:12)
112 error npm ERR! gyp verb which failed at F (/home/pi/.npm/_cacache/tmp/git-clone-5da6280e/node_modules/which/which.js:68:19)
112 error npm ERR! gyp verb which failed at E (/home/pi/.npm/_cacache/tmp/git-clone-5da6280e/node_modules/which/which.js:80:29)
112 error npm ERR! gyp verb which failed at /home/pi/.npm/_cacache/tmp/git-clone-5da6280e/node_modules/which/which.js:89:16
112 error npm ERR! gyp verb which failed at /home/pi/.npm/_cacache/tmp/git-clone-5da6280e/node_modules/isexe/index.js:42:5
112 error npm ERR! gyp verb which failed at /home/pi/.npm/_cacache/tmp/git-clone-5da6280e/node_modules/isexe/mode.js:8:5
112 error npm ERR! gyp verb which failed at FSReqCallback.oncomplete (fs.js:168:21)
112 error npm ERR! gyp verb which failed python2 Error: not found: python2
112 error npm ERR! gyp verb which failed at getNotFoundError (/home/pi/.npm/_cacache/tmp/git-clone-5da6280e/node_modules/which/which.js:13:12)
112 error npm ERR! gyp verb which failed at F (/home/pi/.npm/_cacache/tmp/git-clone-5da6280e/node_modules/which/which.js:68:19)
112 error npm ERR! gyp verb which failed at E (/home/pi/.npm/_cacache/tmp/git-clone-5da6280e/node_modules/which/which.js:80:29)
112 error npm ERR! gyp verb which failed at /home/pi/.npm/_cacache/tmp/git-clone-5da6280e/node_modules/which/which.js:89:16
112 error npm ERR! gyp verb which failed at /home/pi/.npm/_cacache/tmp/git-clone-5da6280e/node_modules/isexe/index.js:42:5
112 error npm ERR! gyp verb which failed at /home/pi/.npm/_cacache/tmp/git-clone-5da6280e/node_modules/isexe/mode.js:8:5
112 error npm ERR! gyp verb which failed at FSReqCallback.oncomplete (fs.js:168:21) {
112 error npm ERR! gyp verb which failed code: 'ENOENT'
112 error npm ERR! gyp verb which failed }
112 error npm ERR! gyp verb check python checking for Python executable "python" in the PATH
112 error npm ERR! gyp verb which succeeded python /usr/bin/python
112 error npm ERR! gyp ERR! configure error
112 error npm ERR! gyp ERR! stack Error: Command failed: /usr/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
112 error npm ERR! gyp ERR! stack File "", line 1
112 error npm ERR! gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
112 error npm ERR! gyp ERR! stack ^
112 error npm ERR! gyp ERR! stack SyntaxError: invalid syntax
112 error npm ERR! gyp ERR! stack
112 error npm ERR! gyp ERR! stack at ChildProcess.exithandler (child_process.js:308:12)
112 error npm ERR! gyp ERR! stack at ChildProcess.emit (events.js:314:20)
112 error npm ERR! gyp ERR! stack at maybeClose (internal/child_process.js:1022:16)
112 error npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
112 error npm ERR! gyp ERR! System Linux 5.10.63-v7+
112 error npm ERR! gyp ERR! command "/usr/bin/node" "/home/pi/.npm/_cacache/tmp/git-clone-5da6280e/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
112 error npm ERR! gyp ERR! cwd /home/pi/.npm/_cacache/tmp/git-clone-5da6280e/node_modules/node-sass
112 error npm ERR! gyp ERR! node -v v12.22.5
112 error npm ERR! gyp ERR! node-gyp -v v3.8.0
112 error npm ERR! gyp ERR! not ok
112 error npm ERR! Build failed with error code: 1
112 error
112 error npm ERR! A complete log of this run can be found in:
112 error npm ERR! /home/pi/.npm/_cacache/_logs/2021-12-23T21_00_00_092Z-debug.log
113 verbose exit 1

Did you run this, as suggested in pi installation docs
sudo apt install build-essential git curl

Which version of Rasbian are you running now?
Also what model of Pi are you running on?

Yes I did run sudo apt install build-essential git curl, and it run whithout errors.
Rasbian version:
pi@PiBerry:~/node-red $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye

RPI model is Raspberry Pi 3 b+

Node red dashboard installation has errors see previous log file

this is the logfile of running the script: npm i node-red/node-red-dashboard

pi@PiBerry:~/node-red $ cat /home/pi/.npm/_logs/2021-12-24T12_16_24_035Z-debug.log
0 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'i', 'node-red/node-red-dashboard' ]
1 info using npm@7.5.2
2 info using node@v12.22.5
3 timing config:load:defaults Completed in 9ms
4 timing config:load:file:/usr/share/nodejs/npm/npmrc Completed in 11ms
5 timing config:load:builtin Completed in 11ms
6 timing config:load:cli Completed in 12ms
7 timing config:load:env Completed in 2ms
8 timing config:load:file:/home/pi/node-red/.npmrc Completed in 1ms
9 timing config:load:project Completed in 4ms
10 timing config:load:file:/home/pi/.npmrc Completed in 1ms
11 timing config:load:user Completed in 1ms
12 timing config:load:file:/etc/npmrc Completed in 1ms
13 timing config:load:global Completed in 2ms
14 timing config:load:cafile Completed in 2ms
15 timing config:load:validate Completed in 3ms
16 timing config:load:setUserAgent Completed in 2ms
17 timing config:load:setEnvs Completed in 6ms
18 timing config:load Completed in 58ms
19 verbose npm-session adfbd8dad40c8dcb
20 timing npm:load Completed in 113ms
21 timing arborist:ctor Completed in 6ms
22 timing idealTree:init Completed in 3423ms
23 timing idealTree:userRequests Completed in 6634ms
24 silly idealTree buildDeps
25 silly fetch manifest node-red-dashboard@node-red/node-red-dashboard
26 silly placeDep ROOT node-red-dashboard@3.1.3 REPLACE for: node-red@2.1.4 want: node-red/node-red-dashboard
27 timing idealTree:#root Completed in 3767ms
28 timing idealTree:node_modules/node-red-dashboard Completed in 0ms
29 timing idealTree:buildDeps Completed in 3778ms
30 timing idealTree:fixDepFlags Completed in 79ms
31 warn EBADENGINE Unsupported engine {
31 warn EBADENGINE package: 'dmd@6.0.0',
31 warn EBADENGINE required: { node: '>=14' },
31 warn EBADENGINE current: { node: 'v12.22.5', npm: '7.5.2' }
31 warn EBADENGINE }
32 warn EBADENGINE Unsupported engine {
32 warn EBADENGINE package: 'grunt-jsdoc-to-markdown@6.0.0',
32 warn EBADENGINE required: { node: '>=14' },
32 warn EBADENGINE current: { node: 'v12.22.5', npm: '7.5.2' }
32 warn EBADENGINE }
33 warn EBADENGINE Unsupported engine {
33 warn EBADENGINE package: 'jsdoc-parse@6.0.1',
33 warn EBADENGINE required: { node: '>=14' },
33 warn EBADENGINE current: { node: 'v12.22.5', npm: '7.5.2' }
33 warn EBADENGINE }
34 timing idealTree Completed in 14059ms
35 timing reify:loadTrees Completed in 14065ms
36 timing reify:diffTrees Completed in 169ms
37 silly reify mark retired [ '/home/pi/node-red/node_modules/node-red-dashboard' ]
38 silly reify moves {
38 silly reify '/home/pi/node-red/node_modules/node-red-dashboard': '/home/pi/node-red/node_modules/.node-red-dashboard-j5s0wFDe'
38 silly reify }
39 timing reify:retireShallow Completed in 13ms
40 timing reify:createSparse Completed in 3ms
41 timing reify:loadBundles Completed in 0ms
42 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 672ms
43 timing auditReport:getReport Completed in 699ms
44 timing metavuln:cache:get:security-advisory:ansi-regex:gipfqiXURkkimm8+IyoEer5YC1ntqyorXe7xXSHfbxT4Q2N0cl4sjpCXLBfNQSZpCf2C6BCCpq61JXzBTOWL+g== Completed in 45ms
45 http fetch GET 304 https://registry.npmjs.org/ansi-regex 306ms (from cache)
46 timing metavuln:packument:ansi-regex Completed in 316ms
47 timing metavuln:load:security-advisory:ansi-regex:1004946 Completed in 4ms
48 timing metavuln:calculate:security-advisory:ansi-regex:1004946 Completed in 324ms
49 http fetch GET 304 https://codeload.github.com/node-red/node-red-dashboard/tar.gz/50d00138179212949d0f50280b3bbb4fc86b88b2 1310ms (from cache)
50 timing metavuln:cache:get:security-advisory:strip-ansi:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 648ms
51 http fetch GET 304 https://registry.npmjs.org/strip-ansi 738ms (from cache)
52 timing metavuln:packument:strip-ansi Completed in 743ms
53 timing metavuln:load:security-advisory:strip-ansi:gipfqiXURkkimm8+IyoEer5YC1ntqyorXe7xXSHfbxT4Q2N0cl4sjpCXLBfNQSZpCf2C6BCCpq61JXzBTOWL+g== Completed in 1ms
54 timing metavuln:calculate:security-advisory:strip-ansi:gipfqiXURkkimm8+IyoEer5YC1ntqyorXe7xXSHfbxT4Q2N0cl4sjpCXLBfNQSZpCf2C6BCCpq61JXzBTOWL+g== Completed in 746ms
55 timing metavuln:cache:get:security-advisory:string-width:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 100ms
56 timing metavuln:cache:get:security-advisory:cliui:7d3FZGcI3zHMZwOEJ7z64Yya3CeS8V9Yp1mUPqnkRhYfe1AhvBDG2H8PbANiJB6NNtMXuaGQGEmGWKyUIVPg3w== Completed in 107ms
57 timing metavuln:cache:get:security-advisory:wrap-ansi:GHlqgCTSc3dwtjMoQl6niHwnwCGUim0UjGppBrfJQzwA3E5oOFtnX/Dq+IC4H0kqX6j5CocvPBNIsu8VJbeufA== Completed in 96ms
58 http fetch GET 304 https://registry.npmjs.org/cliui 190ms (from cache)
59 timing metavuln:packument:cliui Completed in 196ms
60 timing metavuln:load:security-advisory:cliui:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 2ms
61 timing metavuln:calculate:security-advisory:cliui:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 200ms
62 http fetch GET 304 https://registry.npmjs.org/string-width 252ms (from cache)
63 timing metavuln:packument:string-width Completed in 257ms
64 timing metavuln:load:security-advisory:string-width:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 1ms
65 timing metavuln:calculate:security-advisory:string-width:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 259ms
66 http fetch GET 304 https://registry.npmjs.org/wrap-ansi 264ms (from cache)
67 timing metavuln:packument:wrap-ansi Completed in 270ms
68 timing metavuln:load:security-advisory:wrap-ansi:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 2ms
69 timing metavuln:calculate:security-advisory:wrap-ansi:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 273ms
70 timing metavuln:cache:get:security-advisory:yargs:sEQW/iRTpyQRNB6hQsxF7xOlMLlyV4sqa2brC9oz1fcV33UocNP/jtG9oNUHw7v4JTvcrzNRdQEGFoHvXqJiXA== Completed in 33ms
71 http fetch GET 200 https://registry.npmjs.org/yargs 312ms
72 timing metavuln:packument:yargs Completed in 334ms
73 timing metavuln:load:security-advisory:yargs:7d3FZGcI3zHMZwOEJ7z64Yya3CeS8V9Yp1mUPqnkRhYfe1AhvBDG2H8PbANiJB6NNtMXuaGQGEmGWKyUIVPg3w== Completed in 121ms
74 timing metavuln:cache:put:security-advisory:yargs:sEQW/iRTpyQRNB6hQsxF7xOlMLlyV4sqa2brC9oz1fcV33UocNP/jtG9oNUHw7v4JTvcrzNRdQEGFoHvXqJiXA== Completed in 35ms
75 timing metavuln:calculate:security-advisory:yargs:7d3FZGcI3zHMZwOEJ7z64Yya3CeS8V9Yp1mUPqnkRhYfe1AhvBDG2H8PbANiJB6NNtMXuaGQGEmGWKyUIVPg3w== Completed in 492ms
76 timing metavuln:cache:get:security-advisory:cliui:2gbc6+LrUTrmS9/1of6t2ConpwkXUvhGLxrWKb9OKsYXzelT/nvJ8pLGFowk0Q0AAL7vm/IAl6mjO77yfQ1FlA== Completed in 22ms
77 timing metavuln:load:security-advisory:cliui:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 1ms
78 timing metavuln:calculate:security-advisory:cliui:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 24ms
79 timing metavuln:cache:get:security-advisory:wrap-ansi:bBNGWPaeIczlySXOiHEe7fItDCJRl0j7uIYLEUVtmxvynJ8Jub47NupYgKQyGIiFZF6n3QExmGhvEjwo4bV+Hw== Completed in 24ms
80 timing metavuln:load:security-advisory:wrap-ansi:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 0ms
81 timing metavuln:calculate:security-advisory:wrap-ansi:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 27ms
82 timing metavuln:cache:get:security-advisory:yargs:BOa2Al3idP5OlOreEdnVQi68smAzGPOhWohGdtS8trVu5DacMa8X/tmqHH8v0P7xOBCZgrfoFATVy/B3qs1pTg== Completed in 28ms
83 timing metavuln:load:security-advisory:yargs:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 45ms
84 timing metavuln:cache:put:security-advisory:yargs:BOa2Al3idP5OlOreEdnVQi68smAzGPOhWohGdtS8trVu5DacMa8X/tmqHH8v0P7xOBCZgrfoFATVy/B3qs1pTg== Completed in 30ms
85 timing metavuln:calculate:security-advisory:yargs:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 105ms
86 timing metavuln:cache:get:security-advisory:cliui:YvvwN3bPbpjXv4F1ffT9cm5JB9+i7WRwRf1M+p+fSCpbKcM/RmEuIXTOH4OS9E3TQgOYTBM0HKslgem1lsj+nQ== Completed in 16ms
87 timing metavuln:load:security-advisory:cliui:GHlqgCTSc3dwtjMoQl6niHwnwCGUim0UjGppBrfJQzwA3E5oOFtnX/Dq+IC4H0kqX6j5CocvPBNIsu8VJbeufA== Completed in 1ms
88 timing metavuln:calculate:security-advisory:cliui:GHlqgCTSc3dwtjMoQl6niHwnwCGUim0UjGppBrfJQzwA3E5oOFtnX/Dq+IC4H0kqX6j5CocvPBNIsu8VJbeufA== Completed in 18ms
89 timing metavuln:cache:get:security-advisory:nyc:pr3dYFriWiyMozTCO+d9MyQ32k694B3oKPH8vnXEQh7Qv/g0ipUbuTE7MuOO2OkPp+OcGysn03kf0a+8gF2YXA== Completed in 37ms
90 http fetch GET 304 https://registry.npmjs.org/nyc 160ms (from cache)
91 timing metavuln:packument:nyc Completed in 185ms
92 timing metavuln:load:security-advisory:nyc:sEQW/iRTpyQRNB6hQsxF7xOlMLlyV4sqa2brC9oz1fcV33UocNP/jtG9oNUHw7v4JTvcrzNRdQEGFoHvXqJiXA== Completed in 175ms
93 timing metavuln:cache:put:security-advisory:nyc:pr3dYFriWiyMozTCO+d9MyQ32k694B3oKPH8vnXEQh7Qv/g0ipUbuTE7MuOO2OkPp+OcGysn03kf0a+8gF2YXA== Completed in 33ms
94 timing metavuln:calculate:security-advisory:nyc:sEQW/iRTpyQRNB6hQsxF7xOlMLlyV4sqa2brC9oz1fcV33UocNP/jtG9oNUHw7v4JTvcrzNRdQEGFoHvXqJiXA== Completed in 394ms
95 timing metavuln:cache:get:security-advisory:grunt-simple-nyc:AHkSYrA7T/JdnEKaEt6AKj49nZlES4JBnfoul9S/1BZqsopwFnU8yleqUJqACvyvfY/fCZMqzdnjFBfSkUSxGg== Completed in 32ms
96 http fetch GET 304 https://registry.npmjs.org/grunt-simple-nyc 824ms (from cache)
97 timing metavuln:packument:grunt-simple-nyc Completed in 831ms
98 timing metavuln:load:security-advisory:grunt-simple-nyc:pr3dYFriWiyMozTCO+d9MyQ32k694B3oKPH8vnXEQh7Qv/g0ipUbuTE7MuOO2OkPp+OcGysn03kf0a+8gF2YXA== Completed in 41ms
99 timing metavuln:cache:put:security-advisory:grunt-simple-nyc:AHkSYrA7T/JdnEKaEt6AKj49nZlES4JBnfoul9S/1BZqsopwFnU8yleqUJqACvyvfY/fCZMqzdnjFBfSkUSxGg== Completed in 14ms
100 timing metavuln:calculate:security-advisory:grunt-simple-nyc:pr3dYFriWiyMozTCO+d9MyQ32k694B3oKPH8vnXEQh7Qv/g0ipUbuTE7MuOO2OkPp+OcGysn03kf0a+8gF2YXA== Completed in 887ms
101 timing auditReport:init Completed in 3295ms
102 timing reify:audit Completed in 3999ms
103 timing reify:rollback:createSparse Completed in 3ms
104 timing reify:rollback:retireShallow Completed in 4ms
105 timing command:install Completed in 154272ms
106 verbose stack Error: git dep preparation failed
106 verbose stack at ChildProcess. (/usr/share/nodejs/@npmcli/promise-spawn/index.js:64:27)
106 verbose stack at ChildProcess.emit (events.js:314:20)
106 verbose stack at maybeClose (internal/child_process.js:1022:16)
106 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
107 verbose cwd /home/pi/node-red
108 verbose Linux 5.10.63-v7+
109 verbose argv "/usr/bin/node" "/usr/bin/npm" "i" "node-red/node-red-dashboard"
110 verbose node v12.22.5
111 verbose npm v7.5.2
112 error code 1
113 error git dep preparation failed
114 error command /usr/bin/node /usr/share/nodejs/npm/bin/npm-cli.js install --force --cache=/home/pi/.npm/_cacache --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit
115 error npm WARN using --force Recommended protections disabled.
115 error npm WARN deprecated urix@0.1.0: Please see GitHub - lydell/urix: [DEPRECATED] Makes Windows-style paths more unix and URI friendly.
115 error npm WARN deprecated har-validator@5.1.5: this library is no longer supported
115 error npm WARN deprecated gulp-jscs@4.1.0: JSCS is deprecated. Switch to ESLint.
115 error npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
115 error npm WARN deprecated resolve-url@0.2.1: GitHub - lydell/resolve-url: [DEPRECATED] Like Node.js’ `path.resolve`/`url.resolve` for the browser.
115 error npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at The Problem with gulp-util. A little postmortem | by Janiceilene | gulpjs | Medium
115 error npm WARN deprecated jscs-preset-wikimedia@1.0.1: No longer maintained. We recomment migrating to ESLint with eslint-config-wikimedia.
115 error npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
115 error npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
115 error npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
115 error npm WARN deprecated uuid@2.0.3: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details.
115 error npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details.
115 error npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'
115 error npm WARN deprecated request@2.88.2: request has been deprecated, see Request’s Past, Present and Future · Issue #3142 · request/request · GitHub
115 error npm WARN deprecated CSSselect@0.4.1: the module is now available as 'css-select'
115 error npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
115 error npm WARN deprecated jscs@3.0.7: JSCS has merged with ESLint! See - JSCS — end of the line. JSCS 3.0 is finally out, and we are… | by Oleg Gaidarenko | Medium
115 error npm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
115 error npm ERR! code 1
115 error npm ERR! path /home/pi/.npm/_cacache/tmp/git-clone-1d6d7c76/node_modules/node-sass
115 error npm ERR! command failed
115 error npm ERR! command sh -c node scripts/build.js
115 error npm ERR! Building: /usr/bin/node /home/pi/.npm/_cacache/tmp/git-clone-1d6d7c76/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
115 error npm ERR! gyp info it worked if it ends with ok
115 error npm ERR! gyp verb cli [
115 error npm ERR! gyp verb cli '/usr/bin/node',
115 error npm ERR! gyp verb cli '/home/pi/.npm/_cacache/tmp/git-clone-1d6d7c76/node_modules/node-gyp/bin/node-gyp.js',
115 error npm ERR! gyp verb cli 'rebuild',
115 error npm ERR! gyp verb cli '--verbose',
115 error npm ERR! gyp verb cli '--libsass_ext=',
115 error npm ERR! gyp verb cli '--libsass_cflags=',
115 error npm ERR! gyp verb cli '--libsass_ldflags=',
115 error npm ERR! gyp verb cli '--libsass_library='
115 error npm ERR! gyp verb cli ]
115 error npm ERR! gyp info using node-gyp@3.8.0
115 error npm ERR! gyp info using node@12.22.5 | linux | arm
115 error npm ERR! gyp verb command rebuild
115 error npm ERR! gyp verb command clean
115 error npm ERR! gyp verb clean removing "build" directory
115 error npm ERR! gyp verb command configure
115 error npm ERR! gyp verb check python checking for Python executable "python2" in the PATH
115 error npm ERR! gyp verb which failed Error: not found: python2
115 error npm ERR! gyp verb which failed at getNotFoundError (/home/pi/.npm/_cacache/tmp/git-clone-1d6d7c76/node_modules/which/which.js:13:12)
115 error npm ERR! gyp verb which failed at F (/home/pi/.npm/_cacache/tmp/git-clone-1d6d7c76/node_modules/which/which.js:68:19)
115 error npm ERR! gyp verb which failed at E (/home/pi/.npm/_cacache/tmp/git-clone-1d6d7c76/node_modules/which/which.js:80:29)
115 error npm ERR! gyp verb which failed at /home/pi/.npm/_cacache/tmp/git-clone-1d6d7c76/node_modules/which/which.js:89:16
115 error npm ERR! gyp verb which failed at /home/pi/.npm/_cacache/tmp/git-clone-1d6d7c76/node_modules/isexe/index.js:42:5
115 error npm ERR! gyp verb which failed at /home/pi/.npm/_cacache/tmp/git-clone-1d6d7c76/node_modules/isexe/mode.js:8:5
115 error npm ERR! gyp verb which failed at FSReqCallback.oncomplete (fs.js:168:21)
115 error npm ERR! gyp verb which failed python2 Error: not found: python2
115 error npm ERR! gyp verb which failed at getNotFoundError (/home/pi/.npm/_cacache/tmp/git-clone-1d6d7c76/node_modules/which/which.js:13:12)
115 error npm ERR! gyp verb which failed at F (/home/pi/.npm/_cacache/tmp/git-clone-1d6d7c76/node_modules/which/which.js:68:19)
115 error npm ERR! gyp verb which failed at E (/home/pi/.npm/_cacache/tmp/git-clone-1d6d7c76/node_modules/which/which.js:80:29)
115 error npm ERR! gyp verb which failed at /home/pi/.npm/_cacache/tmp/git-clone-1d6d7c76/node_modules/which/which.js:89:16
115 error npm ERR! gyp verb which failed at /home/pi/.npm/_cacache/tmp/git-clone-1d6d7c76/node_modules/isexe/index.js:42:5
115 error npm ERR! gyp verb which failed at /home/pi/.npm/_cacache/tmp/git-clone-1d6d7c76/node_modules/isexe/mode.js:8:5
115 error npm ERR! gyp verb which failed at FSReqCallback.oncomplete (fs.js:168:21) {
115 error npm ERR! gyp verb which failed code: 'ENOENT'
115 error npm ERR! gyp verb which failed }
115 error npm ERR! gyp verb check python checking for Python executable "python" in the PATH
115 error npm ERR! gyp verb which succeeded python /usr/bin/python
115 error npm ERR! gyp ERR! configure error
115 error npm ERR! gyp ERR! stack Error: Command failed: /usr/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
115 error npm ERR! gyp ERR! stack File "", line 1
115 error npm ERR! gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
115 error npm ERR! gyp ERR! stack ^
115 error npm ERR! gyp ERR! stack SyntaxError: invalid syntax
115 error npm ERR! gyp ERR! stack
115 error npm ERR! gyp ERR! stack at ChildProcess.exithandler (child_process.js:308:12)
115 error npm ERR! gyp ERR! stack at ChildProcess.emit (events.js:314:20)
115 error npm ERR! gyp ERR! stack at maybeClose (internal/child_process.js:1022:16)
115 error npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
115 error npm ERR! gyp ERR! System Linux 5.10.63-v7+
115 error npm ERR! gyp ERR! command "/usr/bin/node" "/home/pi/.npm/_cacache/tmp/git-clone-1d6d7c76/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
115 error npm ERR! gyp ERR! cwd /home/pi/.npm/_cacache/tmp/git-clone-1d6d7c76/node_modules/node-sass
115 error npm ERR! gyp ERR! node -v v12.22.5
115 error npm ERR! gyp ERR! node-gyp -v v3.8.0
115 error npm ERR! gyp ERR! not ok
115 error npm ERR! Build failed with error code: 1
115 error
115 error npm ERR! A complete log of this run can be found in:
115 error npm ERR! /home/pi/.npm/_cacache/_logs/2021-12-24T12_16_23_407Z-debug.log
116 verbose exit 1

I think this is saying you need at least node.js v14
Can you try to update it by running bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --node14

I am not certain, but I suspect that may be the error that matters.
@dceejay could this be a python2/3 issue?

I will be setting up a new system next week, but can't do any testing till then.

hi Colin
I ran the script jbudd suggested. I think get a new node.js does not hurt.
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --node14,

Running Node-RED install for user pi at /home/pi on raspbian

This can take 20-30 minutes on the slower Pi versions - please wait.

Stop Node-RED :heavy_check_mark:
Remove old version of Node-RED :heavy_check_mark:
Remove old version of Node.js :heavy_check_mark: v12.22.5
Install Node.js 14 LTS :heavy_check_mark: v14.18.2 Npm 6.14.15
Clean npm cache :heavy_check_mark:
Install Node-RED core :heavy_check_mark: 2.1.4
Move global nodes to local -
Npm rebuild existing nodes :heavy_check_mark:
Install extra Pi nodes :heavy_check_mark:
Add shortcut commands :heavy_check_mark:
Update systemd script :heavy_check_mark:

Any errors will be logged to /var/log/nodered-install.log
All done.
You can now start Node-RED with the command node-red-start
or using the icon under Menu / Programming / Node-RED
Then point your browser to localhost:1880 or http://{your_pi_ip-address}:1880

Started : vr 24 dec 2021 17:39:23 CET
Finished: vr 24 dec 2021 17:45:56 CET

I tried again to install and I gat ohter errors

pi@PiBerry:~/node-red $ npm i node-red/node-red-dashboard
npm ERR! prepareGitDep 1>
npm ERR! prepareGitDep > node-sass@4.14.1 install /home/pi/.npm/_cacache/tmp/git-clone-6ea23a6f/node_modules/node-sass
npm ERR! prepareGitDep > node scripts/install.js
npm ERR! prepareGitDep
npm ERR! prepareGitDep Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/linux-arm-83_binding.node
npm ERR! prepareGitDep
npm ERR! prepareGitDep > core-js@2.6.12 postinstall /home/pi/.npm/_cacache/tmp/git-clone-6ea23a6f/node_modules/core-js
npm ERR! prepareGitDep > node -e "try{require('./postinstall')}catch(e){}"
npm ERR! prepareGitDep
npm ERR! prepareGitDep Thank you for using core-js ( GitHub - zloirock/core-js: Standard Library ) for polyfilling JavaScript standard library!
npm ERR! prepareGitDep
npm ERR! prepareGitDep The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
npm ERR! prepareGitDep > core-js - Open Collective
npm ERR! prepareGitDep > Denis Pushkarev is creating core-js | Patreon
npm ERR! prepareGitDep
npm ERR! prepareGitDep Also, the author of core-js ( zloirock (Denis Pushkarev) · GitHub ) is looking for a good job -)
npm ERR! prepareGitDep
npm ERR! prepareGitDep
npm ERR! prepareGitDep > node-sass@4.14.1 postinstall /home/pi/.npm/_cacache/tmp/git-clone-6ea23a6f/node_modules/node-sass
npm ERR! prepareGitDep > node scripts/build.js
npm ERR! prepareGitDep
npm ERR! prepareGitDep Building: /usr/bin/node /home/pi/.npm/_cacache/tmp/git-clone-6ea23a6f/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm ERR! prepareGitDep
npm ERR! prepareGitDep 2> npm WARN install Usage of the --dev option is deprecated. Use --also=dev instead.
npm ERR! prepareGitDep npm WARN deprecated gulp-jscs@4.1.0: JSCS is deprecated. Switch to ESLint.
npm ERR! prepareGitDep npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at The Problem with gulp-util. A little postmortem | by Janiceilene | gulpjs | Medium
npm ERR! prepareGitDep npm WARN deprecated jscs@3.0.7: JSCS has merged with ESLint! See - JSCS — end of the line. JSCS 3.0 is finally out, and we are… | by Oleg Gaidarenko | Medium
npm ERR! prepareGitDep npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm ERR! prepareGitDep npm WARN deprecated CSSselect@0.4.1: the module is now available as 'css-select'
npm ERR! prepareGitDep npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm ERR! prepareGitDep npm WARN deprecated jscs-preset-wikimedia@1.0.1: No longer maintained. We recomment migrating to ESLint with eslint-config-wikimedia.
npm ERR! prepareGitDep npm WARN deprecated request@2.88.2: request has been deprecated, see Request’s Past, Present and Future · Issue #3142 · request/request · GitHub
npm ERR! prepareGitDep npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'
npm ERR! prepareGitDep npm WARN deprecated urix@0.1.0: Please see GitHub - lydell/urix: [DEPRECATED] Makes Windows-style paths more unix and URI friendly.
npm ERR! prepareGitDep npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm ERR! prepareGitDep npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
npm ERR! prepareGitDep npm WARN deprecated uuid@2.0.3: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details.
npm ERR! prepareGitDep npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm ERR! prepareGitDep npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details.
npm ERR! prepareGitDep npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm ERR! prepareGitDep npm WARN deprecated resolve-url@0.2.1: GitHub - lydell/resolve-url: [DEPRECATED] Like Node.js’ `path.resolve`/`url.resolve` for the browser.
npm ERR! prepareGitDep npm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! prepareGitDep Cannot download "https://github.com/sass/node-sass/releases/download/v4.14.1/linux-arm-83_binding.node":
npm ERR! prepareGitDep
npm ERR! prepareGitDep HTTP error 404 Not Found
npm ERR! prepareGitDep
npm ERR! prepareGitDep Hint: If github.com is not accessible in your location
npm ERR! prepareGitDep try setting a proxy via HTTP_PROXY, e.g.
npm ERR! prepareGitDep
npm ERR! prepareGitDep export HTTP_PROXY=http://example.com:1234
npm ERR! prepareGitDep
npm ERR! prepareGitDep or configure npm proxy via
npm ERR! prepareGitDep
npm ERR! prepareGitDep npm config set proxy http://example.com:8080
npm ERR! prepareGitDep gyp info it worked if it ends with ok
npm ERR! prepareGitDep gyp verb cli [
npm ERR! prepareGitDep gyp verb cli '/usr/bin/node',
npm ERR! prepareGitDep gyp verb cli '/home/pi/.npm/_cacache/tmp/git-clone-6ea23a6f/node_modules/node-gyp/bin/node-gyp.js',
npm ERR! prepareGitDep gyp verb cli 'rebuild',
npm ERR! prepareGitDep gyp verb cli '--verbose',
npm ERR! prepareGitDep gyp verb cli '--libsass_ext=',
npm ERR! prepareGitDep gyp verb cli '--libsass_cflags=',
npm ERR! prepareGitDep gyp verb cli '--libsass_ldflags=',
npm ERR! prepareGitDep gyp verb cli '--libsass_library='
npm ERR! prepareGitDep gyp verb cli ]
npm ERR! prepareGitDep gyp info using node-gyp@3.8.0
npm ERR! prepareGitDep gyp info using node@14.18.2 | linux | arm
npm ERR! prepareGitDep gyp verb command rebuild
npm ERR! prepareGitDep gyp verb command clean
npm ERR! prepareGitDep gyp verb clean removing "build" directory
npm ERR! prepareGitDep gyp verb command configure
npm ERR! prepareGitDep gyp verb check python checking for Python executable "python2" in the PATH
npm ERR! prepareGitDep gyp verb which failed Error: not found: python2
npm ERR! prepareGitDep gyp verb which failed at getNotFoundError (/home/pi/.npm/_cacache/tmp/git-clone-6ea23a6f/node_modules/which/which.js:13:12)
npm ERR! prepareGitDep gyp verb which failed at F (/home/pi/.npm/_cacache/tmp/git-clone-6ea23a6f/node_modules/which/which.js:68:19)
npm ERR! prepareGitDep gyp verb which failed at E (/home/pi/.npm/_cacache/tmp/git-clone-6ea23a6f/node_modules/which/which.js:80:29)
npm ERR! prepareGitDep gyp verb which failed at /home/pi/.npm/_cacache/tmp/git-clone-6ea23a6f/node_modules/which/which.js:89:16
npm ERR! prepareGitDep gyp verb which failed at /home/pi/.npm/_cacache/tmp/git-clone-6ea23a6f/node_modules/isexe/index.js:42:5
npm ERR! prepareGitDep gyp verb which failed at /home/pi/.npm/_cacache/tmp/git-clone-6ea23a6f/node_modules/isexe/mode.js:8:5
npm ERR! prepareGitDep gyp verb which failed at FSReqCallback.oncomplete (fs.js:191:21)
npm ERR! prepareGitDep gyp verb which failed python2 Error: not found: python2
npm ERR! prepareGitDep gyp verb which failed at getNotFoundError (/home/pi/.npm/_cacache/tmp/git-clone-6ea23a6f/node_modules/which/which.js:13:12)
npm ERR! prepareGitDep gyp verb which failed at F (/home/pi/.npm/_cacache/tmp/git-clone-6ea23a6f/node_modules/which/which.js:68:19)
npm ERR! prepareGitDep gyp verb which failed at E (/home/pi/.npm/_cacache/tmp/git-clone-6ea23a6f/node_modules/which/which.js:80:29)
npm ERR! prepareGitDep gyp verb which failed at /home/pi/.npm/_cacache/tmp/git-clone-6ea23a6f/node_modules/which/which.js:89:16
npm ERR! prepareGitDep gyp verb which failed at /home/pi/.npm/_cacache/tmp/git-clone-6ea23a6f/node_modules/isexe/index.js:42:5
npm ERR! prepareGitDep gyp verb which failed at /home/pi/.npm/_cacache/tmp/git-clone-6ea23a6f/node_modules/isexe/mode.js:8:5
npm ERR! prepareGitDep gyp verb which failed at FSReqCallback.oncomplete (fs.js:191:21) {
npm ERR! prepareGitDep gyp verb which failed code: 'ENOENT'
npm ERR! prepareGitDep gyp verb which failed }
npm ERR! prepareGitDep gyp verb check python checking for Python executable "python" in the PATH
npm ERR! prepareGitDep gyp verb which succeeded python /usr/bin/python
npm ERR! prepareGitDep gyp ERR! configure error
npm ERR! prepareGitDep gyp ERR! stack Error: Command failed: /usr/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! prepareGitDep gyp ERR! stack File "", line 1
npm ERR! prepareGitDep gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! prepareGitDep gyp ERR! stack ^
npm ERR! prepareGitDep gyp ERR! stack SyntaxError: invalid syntax
npm ERR! prepareGitDep gyp ERR! stack
npm ERR! prepareGitDep gyp ERR! stack at ChildProcess.exithandler (child_process.js:383:12)
npm ERR! prepareGitDep gyp ERR! stack at ChildProcess.emit (events.js:400:28)
npm ERR! prepareGitDep gyp ERR! stack at maybeClose (internal/child_process.js:1058:16)
npm ERR! prepareGitDep gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
npm ERR! prepareGitDep gyp ERR! System Linux 5.10.63-v7+
npm ERR! prepareGitDep gyp ERR! command "/usr/bin/node" "/home/pi/.npm/_cacache/tmp/git-clone-6ea23a6f/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! prepareGitDep gyp ERR! cwd /home/pi/.npm/_cacache/tmp/git-clone-6ea23a6f/node_modules/node-sass
npm ERR! prepareGitDep gyp ERR! node -v v14.18.2
npm ERR! prepareGitDep gyp ERR! node-gyp -v v3.8.0
npm ERR! prepareGitDep gyp ERR! not ok
npm ERR! prepareGitDep Build failed with error code: 1
npm ERR! prepareGitDep npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
npm ERR! prepareGitDep npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm ERR! prepareGitDep
npm ERR! prepareGitDep npm ERR! code ELIFECYCLE
npm ERR! prepareGitDep npm ERR! errno 1
npm ERR! prepareGitDep npm ERR! node-sass@4.14.1 postinstall: node scripts/build.js
npm ERR! prepareGitDep npm ERR! Exit status 1
npm ERR! prepareGitDep npm ERR!
npm ERR! prepareGitDep npm ERR! Failed at the node-sass@4.14.1 postinstall script.
npm ERR! prepareGitDep npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! prepareGitDep
npm ERR! prepareGitDep npm ERR! A complete log of this run can be found in:
npm ERR! prepareGitDep npm ERR! /home/pi/.npm/_logs/2021-12-24T16_54_15_796Z-debug.log
npm ERR! prepareGitDep
npm ERR! premature close

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2021-12-24T16_54_16_120Z-debug.log

It is failing with the same python syntax error as last time.

Thanks Colin,

I wish you and your family a very nice Christmas and a good, healty New Year.

Berry, when you install NR, you will find a hidden folder in the user Pi's home directory called .node-red, If you want to manually install a node, you need to change to that directory then issue the npm install

pi@fastpi:~ $ cd /home/pi/.node-red
pi@fastpi:~/.node-red $ npm install node-red-dashboard

It looks like you're doing the install in the wrong directory pi@PiBerry:~/node-red

Please change to the .node-red folder and then try the install of the dashboard.