Установка Node-RED на Wiren board 6 Release name wb-2207 Release suite stable

Возможно я что то сделал не так.
Я установил с флэшки wb6_update_FACTORYRESET.fit по инструкции
https://wirenboard.com/wiki/Wiren_Board_6_Firmware_Update#Удаление_данных_и_возврат_заводских_настроек

Затем пытался установить Node-Red по инструкции
https://wirenboard.com/wiki/Node-RED

В процессе установки возникли проблемы.

Прошивку
wb6_update_FACTORYRESET.fit

я скачал отсюда
https://fw-releases.wirenboard.com/?prefix=fit_image/stable/6x/

В System
Release name wb-2207
Release suite stable

Значит новая версия ПО с новой репозитории.

Если речь идет об этой ветке
https://fw-releases.wirenboard.com/?prefix=fit_image/testing/6x/

прошивку скачал буду устанавливать

Хм.
Попытался воспроизвести.
Взял WB6, обресетил его .fit’ом 2207, прошёл по инструкции.
На multer ругнулось, на то, что не нашло bcrypt тоже (но нашло в другом месте), но установилось и работает.

Могу предложить снести nodejs и попробовать ещё раз.

Для перехода с stable 2207 на testing достаточно сделать wb-release -t testing, не нужно накатывать образ.
Для обновления уже его до bullseye - сделать wb-release --update-debian-release.

“но нашло в другом месте”

Почему у меня не находит и не завершает установку успешно?
Я сношу каждый раз нод перед повторной установкой, не помогает.

Попробую снова поставить w2207 и переустановить

Стоит ли переходить на w2210 там версия нода посвежее? Если перевести логи как понял в этом ошибка.

Нода даже в w2207 уже никак не шестая, а вполне себе двенадцатая.
В интернетах рекомендуют сделать следующее:

If you still see the error even after connecting to a “real/stable” wi-fi, try,

  1. increase timeout for package fetch retry

npm config set fetch-retry-maxtimeout 60000 -g

  1. Clean cache -

npm cache clean --force

  1. run install again,

npm install

Alternatively, it could be a case where the error could be due to a locked package version in package.json, for such cases execute the following steps,

  1. delete package.lock.json
  2. run npm install

Предпоследняя команда не выполняются.
нет по этому пути /mnt/data/root/package.json

Думаю что после

npm config set fetch-retry-maxtimeout 60000 -g
npm cache clean --force
npm install -g auto-install

можно пробовать ставить нодред.

Насколько у вас стабильная связь?

вроде стабильная
около 50Мбит/с

не помогает
ниже действия команд
Alexander_Rakhman, возможно опишите порядок своих действий?

# npm config set fetch-retry-maxtimeout 60000 -g
-bash: npm: command not found
root@wirenboard-AE3UHZCX:~# apt update && apt install -y nodejs git make g++ gcc build-essential
Ign:1 http://deb.debian.org/debian stretch InRelease
Get:2 http://deb.debian.org/debian stretch-updates InRelease [93.6 kB]
Get:3 http://deb.debian.org/debian stretch Release [118 kB]
Get:4 http://deb.debian.org/debian stretch Release.gpg [3177 B]
Get:6 http://security.debian.org stretch/updates InRelease [59.1 kB]
Get:7 http://deb.wirenboard.com/wb6/stretch stable InRelease [3958 B]
Get:8 http://deb.debian.org/debian stretch/main armhf Packages [6908 kB]
Get:5 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease [99.9 kB]
Get:9 http://deb.debian.org/debian stretch/main Translation-en [5377 kB]
Get:10 http://security.debian.org stretch/updates/main armhf Packages [758 kB]
Get:11 http://security.debian.org stretch/updates/main Translation-en [368 kB]
Get:12 http://deb.wirenboard.com/wb6/stretch stable/main armhf Packages [47.7 kB]
Get:13 http://cdn-fastly.deb.debian.org/debian stretch-backports/main armhf Packages [600 kB]
Get:14 http://cdn-fastly.deb.debian.org/debian stretch-backports/main Translation-en [467 kB]
Fetched 14.9 MB in 37s (401 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  binutils cpp cpp-6 dirmngr dpkg-dev fakeroot g++-6 gcc-6 git-man gnupg
  gnupg-agent gnupg-l10n libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libasan3 libassuan0 libatomic1 libcc1-0 libdpkg-perl
  liberror-perl libfakeroot libfile-fcntllock-perl libgcc-6-dev libgomp1
  libisl15 libksba8 liblocale-gettext-perl libmpc3 libmpfr4 libnpth0
  libstdc++-6-dev libubsan0 patch pinentry-curses
Suggested packages:
  binutils-doc cpp-doc gcc-6-locales dbus-user-session pinentry-gnome3 tor
  debian-keyring gcc-6-doc libstdc++6-6-dbg gcc-multilib autoconf automake
  libtool flex bison gdb gcc-doc libgcc1-dbg libgomp1-dbg libitm1-dbg
  libatomic1-dbg libasan3-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg
  libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg gettext-base git-daemon-run
  | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch
  git-cvs git-mediawiki git-svn parcimonie xloadimage scdaemon libstdc++-6-doc
  make-doc ed diffutils-doc pinentry-doc
The following NEW packages will be installed:
  binutils build-essential cpp cpp-6 dirmngr dpkg-dev fakeroot g++ g++-6 gcc
  gcc-6 git git-man gnupg gnupg-agent gnupg-l10n libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan3 libassuan0
  libatomic1 libcc1-0 libdpkg-perl liberror-perl libfakeroot
  libfile-fcntllock-perl libgcc-6-dev libgomp1 libisl15 libksba8
  liblocale-gettext-perl libmpc3 libmpfr4 libnpth0 libstdc++-6-dev libubsan0
  make nodejs patch pinentry-curses
0 upgraded, 41 newly installed, 0 to remove and 1 not upgraded.
Need to get 51.9 MB of archives.
After this operation, 207 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main armhf liberror-perl all 0.17024-1 [26.9 kB]
Get:2 http://security.debian.org stretch/updates/main armhf libdpkg-perl all 1.18.26 [1290 kB]
Get:3 http://deb.debian.org/debian stretch/main armhf git-man all 1:2.11.0-3+deb9u7 [1436 kB]
Get:4 http://deb.wirenboard.com/wb6/stretch stable/main armhf nodejs armhf 12.19.0-1nodesource1 [16.2 MB]
Get:5 http://security.debian.org stretch/updates/main armhf dpkg-dev all 1.18.26 [1597 kB]
Get:6 http://deb.debian.org/debian stretch/main armhf git armhf 1:2.11.0-3+deb9u7 [3663 kB]
Get:7 http://deb.debian.org/debian stretch/main armhf liblocale-gettext-perl armhf 1.07-3+b1 [18.4 kB]
Get:8 http://deb.debian.org/debian stretch/main armhf libassuan0 armhf 2.4.3-2 [36.3 kB]
Get:9 http://deb.debian.org/debian stretch/main armhf pinentry-curses armhf 1.0.0-2 [46.6 kB]
Get:10 http://deb.debian.org/debian stretch/main armhf libnpth0 armhf 1.3-1 [13.6 kB]
Get:11 http://deb.debian.org/debian stretch/main armhf gnupg-agent armhf 2.1.18-8~deb9u4 [513 kB]
Get:12 http://deb.debian.org/debian stretch/main armhf libksba8 armhf 1.3.5-2 [85.9 kB]
Get:13 http://deb.debian.org/debian stretch/main armhf gnupg armhf 2.1.18-8~deb9u4 [1062 kB]
Get:14 http://deb.debian.org/debian stretch/main armhf binutils armhf 2.28-5 [3900 kB]
Get:15 http://deb.debian.org/debian stretch/main armhf libisl15 armhf 0.18-1 [441 kB]
Get:16 http://deb.debian.org/debian stretch/main armhf libmpfr4 armhf 3.1.5-1 [536 kB]
Get:17 http://deb.debian.org/debian stretch/main armhf libmpc3 armhf 1.0.3-1+b2 [32.6 kB]
Get:18 http://deb.debian.org/debian stretch/main armhf cpp-6 armhf 6.3.0-18+deb9u1 [5239 kB]
Get:19 http://deb.debian.org/debian stretch/main armhf cpp armhf 4:6.3.0-4 [18.7 kB]
Get:20 http://deb.debian.org/debian stretch/main armhf libcc1-0 armhf 6.3.0-18+deb9u1 [25.2 kB]
Get:21 http://deb.debian.org/debian stretch/main armhf libgomp1 armhf 6.3.0-18+deb9u1 [64.6 kB]
Get:22 http://deb.debian.org/debian stretch/main armhf libatomic1 armhf 6.3.0-18+deb9u1 [6010 B]
Get:23 http://deb.debian.org/debian stretch/main armhf libasan3 armhf 6.3.0-18+deb9u1 [284 kB]
Get:24 http://deb.debian.org/debian stretch/main armhf libubsan0 armhf 6.3.0-18+deb9u1 [92.9 kB]
Get:25 http://deb.debian.org/debian stretch/main armhf libgcc-6-dev armhf 6.3.0-18+deb9u1 [531 kB]
Get:26 http://deb.debian.org/debian stretch/main armhf gcc-6 armhf 6.3.0-18+deb9u1 [5511 kB]
Get:27 http://deb.debian.org/debian stretch/main armhf gcc armhf 4:6.3.0-4 [5212 B]
Get:28 http://deb.debian.org/debian stretch/main armhf libstdc++-6-dev armhf 6.3.0-18+deb9u1 [1487 kB]
Get:29 http://deb.debian.org/debian stretch/main armhf g++-6 armhf 6.3.0-18+deb9u1 [5665 kB]
Get:30 http://deb.debian.org/debian stretch/main armhf g++ armhf 4:6.3.0-4 [1520 B]
Get:31 http://deb.debian.org/debian stretch/main armhf make armhf 4.1-9.1 [290 kB]
Get:32 http://deb.debian.org/debian stretch/main armhf patch armhf 2.7.5-1+deb9u2 [107 kB]
Get:33 http://deb.debian.org/debian stretch/main armhf build-essential armhf 12.3 [7342 B]
Get:34 http://deb.debian.org/debian stretch/main armhf dirmngr armhf 2.1.18-8~deb9u4 [559 kB]
Get:35 http://deb.debian.org/debian stretch/main armhf libfakeroot armhf 1.21-3.1 [41.8 kB]
Get:36 http://deb.debian.org/debian stretch/main armhf fakeroot armhf 1.21-3.1 [84.0 kB]
Get:37 http://deb.debian.org/debian stretch/main armhf libalgorithm-diff-perl all 1.19.03-1 [48.7 kB]
Get:38 http://deb.debian.org/debian stretch/main armhf libalgorithm-diff-xs-perl armhf 0.04-4+b2 [11.1 kB]
Get:39 http://deb.debian.org/debian stretch/main armhf libalgorithm-merge-perl all 0.08-3 [12.7 kB]
Get:40 http://deb.debian.org/debian stretch/main armhf libfile-fcntllock-perl armhf 0.22-3+b2 [35.1 kB]
Get:41 http://deb.debian.org/debian stretch/main armhf gnupg-l10n all 2.1.18-8~deb9u4 [893 kB]
Fetched 51.9 MB in 13s (3739 kB/s)
Extracting templates from packages: 100%
Selecting previously unselected package liberror-perl.
(Reading database ... 27512 files and directories currently installed.)
Preparing to unpack .../00-liberror-perl_0.17024-1_all.deb ...
Unpacking liberror-perl (0.17024-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../01-git-man_1%3a2.11.0-3+deb9u7_all.deb ...
Unpacking git-man (1:2.11.0-3+deb9u7) ...
Selecting previously unselected package git.
Preparing to unpack .../02-git_1%3a2.11.0-3+deb9u7_armhf.deb ...
Unpacking git (1:2.11.0-3+deb9u7) ...
Selecting previously unselected package liblocale-gettext-perl.
Preparing to unpack .../03-liblocale-gettext-perl_1.07-3+b1_armhf.deb ...
Unpacking liblocale-gettext-perl (1.07-3+b1) ...
Selecting previously unselected package libassuan0:armhf.
Preparing to unpack .../04-libassuan0_2.4.3-2_armhf.deb ...
Unpacking libassuan0:armhf (2.4.3-2) ...
Selecting previously unselected package pinentry-curses.
Preparing to unpack .../05-pinentry-curses_1.0.0-2_armhf.deb ...
Unpacking pinentry-curses (1.0.0-2) ...
Selecting previously unselected package libnpth0:armhf.
Preparing to unpack .../06-libnpth0_1.3-1_armhf.deb ...
Unpacking libnpth0:armhf (1.3-1) ...
Selecting previously unselected package gnupg-agent.
Preparing to unpack .../07-gnupg-agent_2.1.18-8~deb9u4_armhf.deb ...
Unpacking gnupg-agent (2.1.18-8~deb9u4) ...
Selecting previously unselected package libksba8:armhf.
Preparing to unpack .../08-libksba8_1.3.5-2_armhf.deb ...
Unpacking libksba8:armhf (1.3.5-2) ...
Selecting previously unselected package gnupg.
Preparing to unpack .../09-gnupg_2.1.18-8~deb9u4_armhf.deb ...
Unpacking gnupg (2.1.18-8~deb9u4) ...
Selecting previously unselected package binutils.
Preparing to unpack .../10-binutils_2.28-5_armhf.deb ...
Unpacking binutils (2.28-5) ...
Selecting previously unselected package libisl15:armhf.
Preparing to unpack .../11-libisl15_0.18-1_armhf.deb ...
Unpacking libisl15:armhf (0.18-1) ...
Selecting previously unselected package libmpfr4:armhf.
Preparing to unpack .../12-libmpfr4_3.1.5-1_armhf.deb ...
Unpacking libmpfr4:armhf (3.1.5-1) ...
Selecting previously unselected package libmpc3:armhf.
Preparing to unpack .../13-libmpc3_1.0.3-1+b2_armhf.deb ...
Unpacking libmpc3:armhf (1.0.3-1+b2) ...
Selecting previously unselected package cpp-6.
Preparing to unpack .../14-cpp-6_6.3.0-18+deb9u1_armhf.deb ...
Unpacking cpp-6 (6.3.0-18+deb9u1) ...
Selecting previously unselected package cpp.
Preparing to unpack .../15-cpp_4%3a6.3.0-4_armhf.deb ...
Unpacking cpp (4:6.3.0-4) ...
Selecting previously unselected package libcc1-0:armhf.
Preparing to unpack .../16-libcc1-0_6.3.0-18+deb9u1_armhf.deb ...
Unpacking libcc1-0:armhf (6.3.0-18+deb9u1) ...
Selecting previously unselected package libgomp1:armhf.
Preparing to unpack .../17-libgomp1_6.3.0-18+deb9u1_armhf.deb ...
Unpacking libgomp1:armhf (6.3.0-18+deb9u1) ...
Selecting previously unselected package libatomic1:armhf.
Preparing to unpack .../18-libatomic1_6.3.0-18+deb9u1_armhf.deb ...
Unpacking libatomic1:armhf (6.3.0-18+deb9u1) ...
Selecting previously unselected package libasan3:armhf.
Preparing to unpack .../19-libasan3_6.3.0-18+deb9u1_armhf.deb ...
Unpacking libasan3:armhf (6.3.0-18+deb9u1) ...
Selecting previously unselected package libubsan0:armhf.
Preparing to unpack .../20-libubsan0_6.3.0-18+deb9u1_armhf.deb ...
Unpacking libubsan0:armhf (6.3.0-18+deb9u1) ...
Selecting previously unselected package libgcc-6-dev:armhf.
Preparing to unpack .../21-libgcc-6-dev_6.3.0-18+deb9u1_armhf.deb ...
Unpacking libgcc-6-dev:armhf (6.3.0-18+deb9u1) ...
Selecting previously unselected package gcc-6.
Preparing to unpack .../22-gcc-6_6.3.0-18+deb9u1_armhf.deb ...
Unpacking gcc-6 (6.3.0-18+deb9u1) ...
Selecting previously unselected package gcc.
Preparing to unpack .../23-gcc_4%3a6.3.0-4_armhf.deb ...
Unpacking gcc (4:6.3.0-4) ...
Selecting previously unselected package libstdc++-6-dev:armhf.
Preparing to unpack .../24-libstdc++-6-dev_6.3.0-18+deb9u1_armhf.deb ...
Unpacking libstdc++-6-dev:armhf (6.3.0-18+deb9u1) ...
Selecting previously unselected package g++-6.
Preparing to unpack .../25-g++-6_6.3.0-18+deb9u1_armhf.deb ...
Unpacking g++-6 (6.3.0-18+deb9u1) ...
Selecting previously unselected package g++.
Preparing to unpack .../26-g++_4%3a6.3.0-4_armhf.deb ...
Unpacking g++ (4:6.3.0-4) ...
Selecting previously unselected package make.
Preparing to unpack .../27-make_4.1-9.1_armhf.deb ...
Unpacking make (4.1-9.1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../28-libdpkg-perl_1.18.26_all.deb ...
Unpacking libdpkg-perl (1.18.26) ...
Selecting previously unselected package patch.
Preparing to unpack .../29-patch_2.7.5-1+deb9u2_armhf.deb ...
Unpacking patch (2.7.5-1+deb9u2) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../30-dpkg-dev_1.18.26_all.deb ...
Unpacking dpkg-dev (1.18.26) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../31-build-essential_12.3_armhf.deb ...
Unpacking build-essential (12.3) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../32-dirmngr_2.1.18-8~deb9u4_armhf.deb ...
Unpacking dirmngr (2.1.18-8~deb9u4) ...
Selecting previously unselected package libfakeroot:armhf.
Preparing to unpack .../33-libfakeroot_1.21-3.1_armhf.deb ...
Unpacking libfakeroot:armhf (1.21-3.1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../34-fakeroot_1.21-3.1_armhf.deb ...
Unpacking fakeroot (1.21-3.1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../35-libalgorithm-diff-perl_1.19.03-1_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.03-1) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../36-libalgorithm-diff-xs-perl_0.04-4+b2_armhf.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-4+b2) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../37-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 .../38-libfile-fcntllock-perl_0.22-3+b2_armhf.deb ...
Unpacking libfile-fcntllock-perl (0.22-3+b2) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../39-nodejs_12.19.0-1nodesource1_armhf.deb ...
Unpacking nodejs (12.19.0-1nodesource1) ...
Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../40-gnupg-l10n_2.1.18-8~deb9u4_all.deb ...
Unpacking gnupg-l10n (2.1.18-8~deb9u4) ...
Setting up libnpth0:armhf (1.3-1) ...
Setting up libgomp1:armhf (6.3.0-18+deb9u1) ...
Setting up libatomic1:armhf (6.3.0-18+deb9u1) ...
Setting up git-man (1:2.11.0-3+deb9u7) ...
Setting up libcc1-0:armhf (6.3.0-18+deb9u1) ...
Setting up make (4.1-9.1) ...
Setting up libasan3:armhf (6.3.0-18+deb9u1) ...
Setting up liberror-perl (0.17024-1) ...
Setting up nodejs (12.19.0-1nodesource1) ...
Setting up libubsan0:armhf (6.3.0-18+deb9u1) ...
Setting up libdpkg-perl (1.18.26) ...
Setting up libksba8:armhf (1.3.5-2) ...
Setting up gnupg-l10n (2.1.18-8~deb9u4) ...
Setting up libfile-fcntllock-perl (0.22-3+b2) ...
Setting up libisl15:armhf (0.18-1) ...
Setting up patch (2.7.5-1+deb9u2) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up libfakeroot:armhf (1.21-3.1) ...
Setting up libalgorithm-diff-perl (1.19.03-1) ...
Setting up liblocale-gettext-perl (1.07-3+b1) ...
Setting up libmpfr4:armhf (3.1.5-1) ...
Setting up libmpc3:armhf (1.0.3-1+b2) ...
Setting up binutils (2.28-5) ...
Setting up cpp-6 (6.3.0-18+deb9u1) ...
Setting up libassuan0:armhf (2.4.3-2) ...
Setting up git (1:2.11.0-3+deb9u7) ...
Setting up cpp (4:6.3.0-4) ...
Setting up libgcc-6-dev:armhf (6.3.0-18+deb9u1) ...
Setting up libstdc++-6-dev:armhf (6.3.0-18+deb9u1) ...
Setting up fakeroot (1.21-3.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 gcc-6 (6.3.0-18+deb9u1) ...
Setting up g++-6 (6.3.0-18+deb9u1) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up dpkg-dev (1.18.26) ...
Setting up libalgorithm-diff-xs-perl (0.04-4+b2) ...
Setting up pinentry-curses (1.0.0-2) ...
Setting up gnupg-agent (2.1.18-8~deb9u4) ...
Setting up dirmngr (2.1.18-8~deb9u4) ...
Setting up gnupg (2.1.18-8~deb9u4) ...
Setting up gcc (4:6.3.0-4) ...
Setting up g++ (4:6.3.0-4) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.3) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
root@wirenboard-AE3UHZCX:~# npm config set fetch-retry-maxtimeout 60000 -g
root@wirenboard-AE3UHZCX:~# npm cache clean --force
npm WARN using --force I sure hope you know what you are doing.
root@wirenboard-AE3UHZCX:~# npm install -g auto-install
npm WARN deprecated chokidar@1.6.1: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated request@2.74.0: request has been deprecated, see https://github.com/request/request/issues/3142
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 WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/auto-install/node_modules/chokidar/node_modules/fsevents):
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! Unexpected end of JSON input while parsing near '...t":{"integrity":"sha5'

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-12-29T22_32_44_318Z-debug.log
root@wirenboard-AE3UHZCX:~#
root@wirenboard-AE3UHZCX:~# npm install -g --unsafe-perm node-red@2.2
npm WARN deprecated multer@1.4.4: Multer 1.x is affected by CVE-2022-24434. This is fixed in v1.4.4-lts.1 which drops support for versions of Node.js before 6. Please upgrade to at least Node.js 6 and version 1.4.4-lts.1 of Multer. If you need support for older versions of Node.js, we are open to accepting patches that would fix the CVE on the main 1.x release line, whilst maintaining compatibility with Node.js 0.10.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: delegates@^1.0.0 (node_modules/node-red/node_modules/are-we-there-yet/node_modules/delegates):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Unexpected end of JSON input while parsing near '...59b81904fdca59a0ef44c'

npm ERR! Unexpected end of JSON input while parsing near '...id":"SHA256:jl3bwswu8'

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-12-29T23_01_47_580Z-debug.log

Ровно по инструкции:

apt update && apt install -y nodejs git make g++ gcc build-essential
npm install -g --unsafe-perm node-red@2.2

К сожалению, node-red - стороннее ПО со сторонними же странностями, на которое мы влиять не особо можем.
Конкретно эта проблема связана с тем, что npm по какой-то причине не смог загрузить описание пакетов.
Все описываемые сценарии лечения связаны с очисткой кэша npm и файлов блокировки его же.

Если запустить npm cache verify после безуспешной попытки поставить нодред, что от ответит?

npm cache verify

Cache verified and compressed (~/.npm/_cacache):
Content verified: 504 (18185947 bytes)
Index entries: 769
Finished in 66.313s

установил w2210

npm install -g --unsafe-perm node-red

npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! network Socket timeout
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: ‘npm help config’

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-12-31T11_18_49_403Z-debug-0.log

npm cache clean --force

npm WARN using --force Recommended protections disabled.

npm install -g auto-install

npm WARN deprecated urix@0.1.0: Please see GitHub - lydell/urix: [DEPRECATED] Makes Windows-style paths more unix and URI friendly.
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! network Socket timeout
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: ‘npm help config’

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-12-31T11_32_50_228Z-debug-0.log

npm help config

npm ERR! code ENOENT
npm ERR! syscall spawn man
npm ERR! path man
npm ERR! errno -2
npm ERR! enoent spawn man ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-12-31T11_43_43_602Z-debug-0.log

через VPN тоже не ставится
Уважаемые разработчики надо решать вопрос, нельзя же встречать новый год без освещения и отопления

npm install -g --unsafe-perm node-red

npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /usr/lib/node_modules/node-red
npm ERR! dest /usr/lib/node_modules/.node-red-eOn6FCQ9
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename ‘/usr/lib/node_modules/node-red’ → ‘/usr/lib/node_modules/.node-red-eOn6FCQ9’

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-12-31T13_31_48_105Z-debug-0.log

Ну вот сейчас оно точно хочет чистку кэша.

npm install -g --unsafe-perm node-red

npm ERR! code FETCH_ERROR
npm ERR! errno FETCH_ERROR
npm ERR! invalid json response body at https://registry.npmjs.org/@node-red%2Feditor-client reason: Invalid response body while trying to fetch https://registry.npmjs.org/@node-red%2Feditor-client: Socket timeout

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-12-31T13_58_39_648Z-debug-0.log