Проблема установки Node-Red

Имелся чистый контроллер:

Welcome to Wiren Board 7.3.4 (s/n AIEDUEBW), release wb-2310 (as stable)

Следуя инструкции по установке Node-red ошибка, по всей видимости из за неактуалной версии nodejs и/или npm

Устанавливаем необходимые компоненты согласно инструкции:

root@wirenboard-AIEDUEBW:~# apt update && apt install -y nodejs git make g++ gcc build-essential
Get:1 http://debian-mirror.wirenboard.com/debian bullseye InRelease [116 kB]                                                       
Hit:2 http://deb.wirenboard.com/wb7/bullseye stable InRelease                                                                      
Get:3 http://debian-mirror.wirenboard.com/debian bullseye-updates InRelease [44.1 kB]                  
Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease
Get:5 http://debian-mirror.wirenboard.com/debian bullseye-backports InRelease [49.0 kB]
Get:6 http://debian-mirror.wirenboard.com/debian-security bullseye-security InRelease [48.4 kB]
Get:7 http://debian-mirror.wirenboard.com/debian bullseye/main armhf Packages [7838 kB]
Get:8 http://debian-mirror.wirenboard.com/debian bullseye/main Translation-en [6236 kB]
Get:9 http://debian-mirror.wirenboard.com/debian bullseye-updates/main armhf Packages [14.9 kB]
Get:10 http://debian-mirror.wirenboard.com/debian bullseye-updates/main Translation-en [10.1 kB]
Get:11 http://debian-mirror.wirenboard.com/debian bullseye-backports/main armhf Packages [395 kB]
Get:12 http://debian-mirror.wirenboard.com/debian bullseye-backports/main Translation-en [340 kB]
Get:13 http://debian-mirror.wirenboard.com/debian-security bullseye-security/main armhf Packages [253 kB]                                                         
Get:14 http://debian-mirror.wirenboard.com/debian-security bullseye-security/main Translation-en [165 kB]                                                         
Fetched 15.5 MB in 20s (757 kB/s)                                                                                                                                 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  binutils binutils-arm-linux-gnueabihf binutils-common cpp cpp-10 dirmngr dpkg-dev fakeroot g++-10 gcc-10 git-man gnupg gnupg-l10n gnupg-utils gpg gpg-agent
  gpg-wks-client gpg-wks-server gpgconf gpgsm libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan6 libassuan0 libatomic1 libbinutils
  libcc1-0 libctf-nobfd0 libctf0 libdpkg-perl liberror-perl libfakeroot libfile-fcntllock-perl libgcc-10-dev libgomp1 libisl23 libksba8 liblocale-gettext-perl
  libmpc3 libmpfr6 libnpth0 libstdc++-10-dev libubsan1 patch pinentry-curses
Suggested packages:
  binutils-doc cpp-doc gcc-10-locales dbus-user-session pinentry-gnome3 tor debian-keyring gcc-10-doc gcc-multilib autoconf automake libtool flex bison gdb
  gcc-doc gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn parcimonie xloadimage
  scdaemon bzr libstdc++-10-doc make-doc ed diffutils-doc pinentry-doc
The following NEW packages will be installed:
  binutils binutils-arm-linux-gnueabihf binutils-common build-essential cpp cpp-10 dirmngr dpkg-dev fakeroot g++ g++-10 gcc gcc-10 git git-man gnupg gnupg-l10n
  gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan6
  libassuan0 libatomic1 libbinutils libcc1-0 libctf-nobfd0 libctf0 libdpkg-perl liberror-perl libfakeroot libfile-fcntllock-perl libgcc-10-dev libgomp1 libisl23
  libksba8 liblocale-gettext-perl libmpc3 libmpfr6 libnpth0 libstdc++-10-dev libubsan1 make nodejs patch pinentry-curses
0 upgraded, 52 newly installed, 0 to remove and 0 not upgraded.
Need to get 82.1 MB of archives.
After this operation, 296 MB of additional disk space will be used.
Get:1 http://debian-mirror.wirenboard.com/debian bullseye/main armhf liblocale-gettext-perl armhf 1.07-4+b1 [18.3 kB]
Get:2 http://debian-mirror.wirenboard.com/debian bullseye/main armhf binutils-common armhf 2.35.2-2 [2220 kB]
Get:3 http://deb.wirenboard.com/wb7/bullseye stable/main armhf nodejs armhf 16.18.1-deb-1nodesource1 [24.2 MB]
Get:4 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libbinutils armhf 2.35.2-2 [403 kB]
Get:5 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libctf-nobfd0 armhf 2.35.2-2 [99.7 kB]
Get:6 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libctf0 armhf 2.35.2-2 [42.4 kB]
Get:7 http://debian-mirror.wirenboard.com/debian bullseye/main armhf binutils-arm-linux-gnueabihf armhf 2.35.2-2 [2408 kB]
Get:8 http://debian-mirror.wirenboard.com/debian bullseye/main armhf binutils armhf 2.35.2-2 [61.2 kB]
Get:9 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libisl23 armhf 0.23-1 [516 kB]
Get:10 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libmpfr6 armhf 4.1.0-3 [811 kB]
Get:11 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libmpc3 armhf 1.2.0-1 [36.7 kB]
Get:12 http://debian-mirror.wirenboard.com/debian bullseye/main armhf cpp-10 armhf 10.2.1-6 [6609 kB]
Get:13 http://debian-mirror.wirenboard.com/debian bullseye/main armhf cpp armhf 4:10.2.1-1 [19.7 kB]
Get:14 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libcc1-0 armhf 10.2.1-6 [39.2 kB]
Get:15 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libgomp1 armhf 10.2.1-6 [84.7 kB]
Get:16 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libatomic1 armhf 10.2.1-6 [6924 B]
Get:17 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libasan6 armhf 10.2.1-6 [2015 kB]
Get:18 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libubsan1 armhf 10.2.1-6 [746 kB]
Get:19 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libgcc-10-dev armhf 10.2.1-6 [694 kB]
Get:20 http://debian-mirror.wirenboard.com/debian bullseye/main armhf gcc-10 armhf 10.2.1-6 [13.1 MB]
Get:21 http://debian-mirror.wirenboard.com/debian bullseye/main armhf gcc armhf 4:10.2.1-1 [5204 B]
Get:22 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libstdc++-10-dev armhf 10.2.1-6 [1790 kB]
Get:23 http://debian-mirror.wirenboard.com/debian bullseye/main armhf g++-10 armhf 10.2.1-6 [7244 kB]
Get:24 http://debian-mirror.wirenboard.com/debian bullseye/main armhf g++ armhf 4:10.2.1-1 [1628 B]                                                               
Get:25 http://debian-mirror.wirenboard.com/debian bullseye/main armhf make armhf 4.3-4.1 [384 kB]                                                                 
Get:26 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libdpkg-perl all 1.20.13 [1552 kB]                                                          
Get:27 http://debian-mirror.wirenboard.com/debian bullseye/main armhf patch armhf 2.7.6-7 [125 kB]                                                                
Get:28 http://debian-mirror.wirenboard.com/debian bullseye/main armhf dpkg-dev all 1.20.13 [2314 kB]                                                              
Get:29 http://debian-mirror.wirenboard.com/debian bullseye/main armhf build-essential armhf 12.9 [7704 B]                                                         
Get:30 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libassuan0 armhf 2.5.3-7.1 [44.2 kB]                                                        
Get:31 http://debian-mirror.wirenboard.com/debian bullseye/main armhf gpgconf armhf 2.2.27-2+deb11u2 [532 kB]                                                     
Get:32 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libksba8 armhf 1.5.0-3+deb11u2 [105 kB]                                                     
Get:33 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libnpth0 armhf 1.6-3 [17.8 kB]                                                              
Get:34 http://debian-mirror.wirenboard.com/debian bullseye/main armhf dirmngr armhf 2.2.27-2+deb11u2 [722 kB]                                                     
Get:35 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libfakeroot armhf 1.25.3-1.1 [43.9 kB]                                                      
Get:36 http://debian-mirror.wirenboard.com/debian bullseye/main armhf fakeroot armhf 1.25.3-1.1 [85.1 kB]                                                         
Get:37 http://debian-mirror.wirenboard.com/debian bullseye/main armhf liberror-perl all 0.17029-1 [31.0 kB]                                                       
Get:38 http://debian-mirror.wirenboard.com/debian bullseye/main armhf git-man all 1:2.30.2-1+deb11u2 [1828 kB]                                                    
Get:39 http://debian-mirror.wirenboard.com/debian bullseye/main armhf git armhf 1:2.30.2-1+deb11u2 [5109 kB]                                                      
Get:40 http://debian-mirror.wirenboard.com/debian bullseye/main armhf gnupg-l10n all 2.2.27-2+deb11u2 [1086 kB]                                                   
Get:41 http://debian-mirror.wirenboard.com/debian bullseye/main armhf gnupg-utils armhf 2.2.27-2+deb11u2 [835 kB]                                                 
Get:42 http://debian-mirror.wirenboard.com/debian bullseye/main armhf gpg armhf 2.2.27-2+deb11u2 [868 kB]                                                         
Get:43 http://debian-mirror.wirenboard.com/debian bullseye/main armhf pinentry-curses armhf 1.1.0-4 [60.6 kB]                                                     
Get:44 http://debian-mirror.wirenboard.com/debian bullseye/main armhf gpg-agent armhf 2.2.27-2+deb11u2 [630 kB]                                                   
Get:45 http://debian-mirror.wirenboard.com/debian bullseye/main armhf gpg-wks-client armhf 2.2.27-2+deb11u2 [509 kB]                                              
Get:46 http://debian-mirror.wirenboard.com/debian bullseye/main armhf gpg-wks-server armhf 2.2.27-2+deb11u2 [503 kB]                                              
Get:47 http://debian-mirror.wirenboard.com/debian bullseye/main armhf gpgsm armhf 2.2.27-2+deb11u2 [617 kB]                                                       
Get:48 http://debian-mirror.wirenboard.com/debian bullseye/main armhf gnupg all 2.2.27-2+deb11u2 [825 kB]                                                         
Get:49 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libalgorithm-diff-perl all 1.201-1 [43.3 kB]                                                
Get:50 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libalgorithm-diff-xs-perl armhf 0.04-6+b1 [11.5 kB]                                         
Get:51 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libalgorithm-merge-perl all 0.08-3 [12.7 kB]                                                
Get:52 http://debian-mirror.wirenboard.com/debian bullseye/main armhf libfile-fcntllock-perl armhf 0.22-3+b7 [35.1 kB]                                            
Fetched 82.1 MB in 8s (10.3 MB/s)                                                                                                                                 
Extracting templates from packages: 100%
Selecting previously unselected package liblocale-gettext-perl.
(Reading database ... 30226 files and directories currently installed.)
Preparing to unpack .../00-liblocale-gettext-perl_1.07-4+b1_armhf.deb ...
Unpacking liblocale-gettext-perl (1.07-4+b1) ...
Selecting previously unselected package binutils-common:armhf.
Preparing to unpack .../01-binutils-common_2.35.2-2_armhf.deb ...
Unpacking binutils-common:armhf (2.35.2-2) ...
Selecting previously unselected package libbinutils:armhf.
Preparing to unpack .../02-libbinutils_2.35.2-2_armhf.deb ...
Unpacking libbinutils:armhf (2.35.2-2) ...
Selecting previously unselected package libctf-nobfd0:armhf.
Preparing to unpack .../03-libctf-nobfd0_2.35.2-2_armhf.deb ...
Unpacking libctf-nobfd0:armhf (2.35.2-2) ...
Selecting previously unselected package libctf0:armhf.
Preparing to unpack .../04-libctf0_2.35.2-2_armhf.deb ...
Unpacking libctf0:armhf (2.35.2-2) ...
Selecting previously unselected package binutils-arm-linux-gnueabihf.
Preparing to unpack .../05-binutils-arm-linux-gnueabihf_2.35.2-2_armhf.deb ...
Unpacking binutils-arm-linux-gnueabihf (2.35.2-2) ...
Selecting previously unselected package binutils.
Preparing to unpack .../06-binutils_2.35.2-2_armhf.deb ...
Unpacking binutils (2.35.2-2) ...
Selecting previously unselected package libisl23:armhf.
Preparing to unpack .../07-libisl23_0.23-1_armhf.deb ...
Unpacking libisl23:armhf (0.23-1) ...
Selecting previously unselected package libmpfr6:armhf.
Preparing to unpack .../08-libmpfr6_4.1.0-3_armhf.deb ...
Unpacking libmpfr6:armhf (4.1.0-3) ...
Selecting previously unselected package libmpc3:armhf.
Preparing to unpack .../09-libmpc3_1.2.0-1_armhf.deb ...
Unpacking libmpc3:armhf (1.2.0-1) ...
Selecting previously unselected package cpp-10.
Preparing to unpack .../10-cpp-10_10.2.1-6_armhf.deb ...
Unpacking cpp-10 (10.2.1-6) ...
Selecting previously unselected package cpp.
Preparing to unpack .../11-cpp_4%3a10.2.1-1_armhf.deb ...
Unpacking cpp (4:10.2.1-1) ...
Selecting previously unselected package libcc1-0:armhf.
Preparing to unpack .../12-libcc1-0_10.2.1-6_armhf.deb ...
Unpacking libcc1-0:armhf (10.2.1-6) ...
Selecting previously unselected package libgomp1:armhf.
Preparing to unpack .../13-libgomp1_10.2.1-6_armhf.deb ...
Unpacking libgomp1:armhf (10.2.1-6) ...
Selecting previously unselected package libatomic1:armhf.
Preparing to unpack .../14-libatomic1_10.2.1-6_armhf.deb ...
Unpacking libatomic1:armhf (10.2.1-6) ...
Selecting previously unselected package libasan6:armhf.
Preparing to unpack .../15-libasan6_10.2.1-6_armhf.deb ...
Unpacking libasan6:armhf (10.2.1-6) ...
Selecting previously unselected package libubsan1:armhf.
Preparing to unpack .../16-libubsan1_10.2.1-6_armhf.deb ...
Unpacking libubsan1:armhf (10.2.1-6) ...
Selecting previously unselected package libgcc-10-dev:armhf.
Preparing to unpack .../17-libgcc-10-dev_10.2.1-6_armhf.deb ...
Unpacking libgcc-10-dev:armhf (10.2.1-6) ...
Selecting previously unselected package gcc-10.
Preparing to unpack .../18-gcc-10_10.2.1-6_armhf.deb ...
Unpacking gcc-10 (10.2.1-6) ...
Selecting previously unselected package gcc.
Preparing to unpack .../19-gcc_4%3a10.2.1-1_armhf.deb ...
Unpacking gcc (4:10.2.1-1) ...
Selecting previously unselected package libstdc++-10-dev:armhf.
Preparing to unpack .../20-libstdc++-10-dev_10.2.1-6_armhf.deb ...
Unpacking libstdc++-10-dev:armhf (10.2.1-6) ...
Selecting previously unselected package g++-10.
Preparing to unpack .../21-g++-10_10.2.1-6_armhf.deb ...
Unpacking g++-10 (10.2.1-6) ...
Selecting previously unselected package g++.
Preparing to unpack .../22-g++_4%3a10.2.1-1_armhf.deb ...
Unpacking g++ (4:10.2.1-1) ...
Selecting previously unselected package make.
Preparing to unpack .../23-make_4.3-4.1_armhf.deb ...
Unpacking make (4.3-4.1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../24-libdpkg-perl_1.20.13_all.deb ...
Unpacking libdpkg-perl (1.20.13) ...
Selecting previously unselected package patch.
Preparing to unpack .../25-patch_2.7.6-7_armhf.deb ...
Unpacking patch (2.7.6-7) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../26-dpkg-dev_1.20.13_all.deb ...
Unpacking dpkg-dev (1.20.13) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../27-build-essential_12.9_armhf.deb ...
Unpacking build-essential (12.9) ...
Selecting previously unselected package libassuan0:armhf.
Preparing to unpack .../28-libassuan0_2.5.3-7.1_armhf.deb ...
Unpacking libassuan0:armhf (2.5.3-7.1) ...
Selecting previously unselected package gpgconf.
Preparing to unpack .../29-gpgconf_2.2.27-2+deb11u2_armhf.deb ...
Unpacking gpgconf (2.2.27-2+deb11u2) ...
Selecting previously unselected package libksba8:armhf.
Preparing to unpack .../30-libksba8_1.5.0-3+deb11u2_armhf.deb ...
Unpacking libksba8:armhf (1.5.0-3+deb11u2) ...
Selecting previously unselected package libnpth0:armhf.
Preparing to unpack .../31-libnpth0_1.6-3_armhf.deb ...
Unpacking libnpth0:armhf (1.6-3) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../32-dirmngr_2.2.27-2+deb11u2_armhf.deb ...
Unpacking dirmngr (2.2.27-2+deb11u2) ...
Selecting previously unselected package libfakeroot:armhf.
Preparing to unpack .../33-libfakeroot_1.25.3-1.1_armhf.deb ...
Unpacking libfakeroot:armhf (1.25.3-1.1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../34-fakeroot_1.25.3-1.1_armhf.deb ...
Unpacking fakeroot (1.25.3-1.1) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../35-liberror-perl_0.17029-1_all.deb ...
Unpacking liberror-perl (0.17029-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../36-git-man_1%3a2.30.2-1+deb11u2_all.deb ...
Unpacking git-man (1:2.30.2-1+deb11u2) ...
Selecting previously unselected package git.
Preparing to unpack .../37-git_1%3a2.30.2-1+deb11u2_armhf.deb ...
Unpacking git (1:2.30.2-1+deb11u2) ...
Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../38-gnupg-l10n_2.2.27-2+deb11u2_all.deb ...
Unpacking gnupg-l10n (2.2.27-2+deb11u2) ...
Selecting previously unselected package gnupg-utils.
Preparing to unpack .../39-gnupg-utils_2.2.27-2+deb11u2_armhf.deb ...
Unpacking gnupg-utils (2.2.27-2+deb11u2) ...
Selecting previously unselected package gpg.
Preparing to unpack .../40-gpg_2.2.27-2+deb11u2_armhf.deb ...
Unpacking gpg (2.2.27-2+deb11u2) ...
Selecting previously unselected package pinentry-curses.
Preparing to unpack .../41-pinentry-curses_1.1.0-4_armhf.deb ...
Unpacking pinentry-curses (1.1.0-4) ...
Selecting previously unselected package gpg-agent.
Preparing to unpack .../42-gpg-agent_2.2.27-2+deb11u2_armhf.deb ...
Unpacking gpg-agent (2.2.27-2+deb11u2) ...
Selecting previously unselected package gpg-wks-client.
Preparing to unpack .../43-gpg-wks-client_2.2.27-2+deb11u2_armhf.deb ...
Unpacking gpg-wks-client (2.2.27-2+deb11u2) ...
Selecting previously unselected package gpg-wks-server.
Preparing to unpack .../44-gpg-wks-server_2.2.27-2+deb11u2_armhf.deb ...
Unpacking gpg-wks-server (2.2.27-2+deb11u2) ...
Selecting previously unselected package gpgsm.
Preparing to unpack .../45-gpgsm_2.2.27-2+deb11u2_armhf.deb ...
Unpacking gpgsm (2.2.27-2+deb11u2) ...
Selecting previously unselected package gnupg.
Preparing to unpack .../46-gnupg_2.2.27-2+deb11u2_all.deb ...
Unpacking gnupg (2.2.27-2+deb11u2) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../47-libalgorithm-diff-perl_1.201-1_all.deb ...
Unpacking libalgorithm-diff-perl (1.201-1) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../48-libalgorithm-diff-xs-perl_0.04-6+b1_armhf.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-6+b1) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../49-libalgorithm-merge-perl_0.08-3_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-3) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../50-libfile-fcntllock-perl_0.22-3+b7_armhf.deb ...
Unpacking libfile-fcntllock-perl (0.22-3+b7) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../51-nodejs_16.18.1-deb-1nodesource1_armhf.deb ...
Unpacking nodejs (16.18.1-deb-1nodesource1) ...
Setting up libksba8:armhf (1.5.0-3+deb11u2) ...
Setting up libfile-fcntllock-perl (0.22-3+b7) ...
Setting up libalgorithm-diff-perl (1.201-1) ...
Setting up binutils-common:armhf (2.35.2-2) ...
Setting up libctf-nobfd0:armhf (2.35.2-2) ...
Setting up libnpth0:armhf (1.6-3) ...
Setting up libassuan0:armhf (2.5.3-7.1) ...
Setting up libgomp1:armhf (10.2.1-6) ...
Setting up libfakeroot:armhf (1.25.3-1.1) ...
Setting up libasan6:armhf (10.2.1-6) ...
Setting up fakeroot (1.25.3-1.1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/fakeroot.1.gz because associated file /usr/share/man/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/faked.1.gz because associated file /usr/share/man/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/es/man1/fakeroot.1.gz because associated file /usr/share/man/es/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/es/man1/faked.1.gz because associated file /usr/share/man/es/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/fr/man1/fakeroot.1.gz because associated file /usr/share/man/fr/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/fr/man1/faked.1.gz because associated file /usr/share/man/fr/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/sv/man1/fakeroot.1.gz because associated file /usr/share/man/sv/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/sv/man1/faked.1.gz because associated file /usr/share/man/sv/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
Setting up liberror-perl (0.17029-1) ...
Setting up make (4.3-4.1) ...
Setting up libmpfr6:armhf (4.1.0-3) ...
Setting up gnupg-l10n (2.2.27-2+deb11u2) ...
Setting up libmpc3:armhf (1.2.0-1) ...
Setting up libatomic1:armhf (10.2.1-6) ...
Setting up patch (2.7.6-7) ...
Setting up libdpkg-perl (1.20.13) ...
Setting up libubsan1:armhf (10.2.1-6) ...
Setting up gpgconf (2.2.27-2+deb11u2) ...
Setting up git-man (1:2.30.2-1+deb11u2) ...
Setting up libbinutils:armhf (2.35.2-2) ...
Setting up libisl23:armhf (0.23-1) ...
Setting up libalgorithm-diff-xs-perl (0.04-6+b1) ...
Setting up libcc1-0:armhf (10.2.1-6) ...
Setting up liblocale-gettext-perl (1.07-4+b1) ...
Setting up gpg (2.2.27-2+deb11u2) ...
Setting up cpp-10 (10.2.1-6) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up gnupg-utils (2.2.27-2+deb11u2) ...
Setting up libctf0:armhf (2.35.2-2) ...
Setting up pinentry-curses (1.1.0-4) ...
Setting up gpg-agent (2.2.27-2+deb11u2) ...
Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket → /usr/lib/systemd/user/gpg-agent-browser.socket.
Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket → /usr/lib/systemd/user/gpg-agent-extra.socket.
Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket → /usr/lib/systemd/user/gpg-agent-ssh.socket.
Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent.socket → /usr/lib/systemd/user/gpg-agent.socket.
Setting up libgcc-10-dev:armhf (10.2.1-6) ...
Setting up gpgsm (2.2.27-2+deb11u2) ...
Setting up nodejs (16.18.1-deb-1nodesource1) ...
Setting up dirmngr (2.2.27-2+deb11u2) ...
Created symlink /etc/systemd/user/sockets.target.wants/dirmngr.socket → /usr/lib/systemd/user/dirmngr.socket.
Setting up git (1:2.30.2-1+deb11u2) ...
Setting up gpg-wks-server (2.2.27-2+deb11u2) ...
Setting up cpp (4:10.2.1-1) ...
Setting up binutils-arm-linux-gnueabihf (2.35.2-2) ...
Setting up libstdc++-10-dev:armhf (10.2.1-6) ...
Setting up gpg-wks-client (2.2.27-2+deb11u2) ...
Setting up binutils (2.35.2-2) ...
Setting up dpkg-dev (1.20.13) ...
Setting up gcc-10 (10.2.1-6) ...
Setting up gnupg (2.2.27-2+deb11u2) ...
Setting up g++-10 (10.2.1-6) ...
Setting up gcc (4:10.2.1-1) ...
Setting up g++ (4:10.2.1-1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.9) ...
Processing triggers for libc-bin (2.31-13+deb11u7) ...

В целом установка завершена, итого установлено

build-essential is already the newest version (12.9).
g++ is already the newest version (4:10.2.1-1).
gcc is already the newest version (4:10.2.1-1).
git is already the newest version (1:2.30.2-1+deb11u2).
make is already the newest version (4.3-4.1).
nodejs is already the newest version (16.18.1-deb-1nodesource1).

Но при установке Node-Red сталкиваюсь с проблемой:

root@wirenboard-AIEDUEBW:~# npm install -g --unsafe-perm node-red

added 302 packages, and audited 303 packages in 2m

45 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm notice 
npm notice New major version of npm available! 8.19.2 -> 10.2.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.1
npm notice Run npm install -g npm@10.2.1 to update!
npm notice 

Отсюда и делаю вывод, что для установки актульной версии Node-Red требуется обновленный npm который ранее установился автоматически некорректной версии, при попытке установить более новую версию npm

root@wirenboard-AIEDUEBW:~# npm install -g npm@10.2.1
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: npm@10.2.1
npm ERR! notsup Not compatible with your version of node/npm: npm@10.2.1
npm ERR! notsup Required: {"node":"^18.17.0 || >=20.5.0"}
npm ERR! notsup Actual:   {"npm":"8.19.2","node":"v16.18.1"}

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-10-24T08_43_17_824Z-debug-0.log

Соответсвенно текущая версия npm не достаточна для установки Node-Red, а текущая версия nodejs недостаточна для установки акутального npm.

Собственно вопрос, как правильно выходить из этой ситуации?

  • в ручную обновить nodejs до актуальной версии?
  • устанавливать в докер согласно инструкции актуальной для старой прошивки?
  • установить более раннюю версию Node-Red подходящую под текущую версию npm?

Добрый день.
Я так понимаю, что вам нужна актуальная версия Node-RED. Какая версия у вас сейчас установлена?

Покажите вывод команды:

npm -g info node-red version

Нет проблема не в обновлении нодред.

Я с нуля устанавливаю нодред по алгоритму из инструкции нодред не устанавливается, так как его последняя версия 3.2.0 требует npm версии которая не уставливается командой.

По инструкции из нашей документации устанавливается Node-RED 3.1.0 (проверил). На сайте https://nodered.org/ я вижу " Latest version: v3.1.0 (npm)". Где взять 3.2.0 не знаю.
Если вам необходимы версии nodejs и npm новее, то можете установить.

Вы правы, я ошибся в плане версий 3.1.0 актуальная. именно в процессе ее установки и вышел лог.
Правильно ли я понял, что данный ответ подразумевает успешную установку.

root@wirenboard-AIEDUEBW:~# npm install -g --unsafe-perm node-red

added 302 packages, and audited 303 packages in 2m

45 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm notice 
npm notice New major version of npm available! 8.19.2 -> 10.2.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.1
npm notice Run npm install -g npm@10.2.1 to update!
npm notice 

Я так понял что проверить это смогу командой?

npm -g info node-red version

Да. Ошибок установки в выводе нет.

Все верно. Так покажет версию установленного Node-RED/

Спасибо, я думаю тему можно закрывать, основная ошибка была в том, что я статус установки проверял через команду systemctl status nodered и разумеется получил логичный ответ что нет такого еще не созданого сервиса, а не как нужно npm -g info node-red version

1 лайк

Эта тема была автоматически закрыта через 7 дней после последнего ответа. В ней больше нельзя отвечать.