Solved Install error on script but can not identify the issue

Hi
I tried to follow your recommendation to install node-red.
as written here:
install script

looking intot the log I do not see a hint.
running with suod also got an error (see below)
What am I missing?

Thanks for guiding.

BR T

Get:2 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster/main armhf libnode64 armhf 10.24.0~dfsg-1~deb10u1 [4,860 kB]
Get:3 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster/main armhf nodejs armhf 10.24.0~dfsg-1~deb10u1 [87.2 kB]
Get:4 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster/main armhf nodejs-doc all 10.24.0~dfsg-1~deb10u1 [974 kB]
Fetched 6,002 kB in 9s (692 kB/s)
Selecting previously unselected package libc-ares2:armhf.
(Reading database ... 107609 files and directories currently installed.)
Preparing to unpack .../libc-ares2_1.14.0-1_armhf.deb ...
Unpacking libc-ares2:armhf (1.14.0-1) ...
Selecting previously unselected package libnode64:armhf.
Preparing to unpack .../libnode64_10.24.0~dfsg-1~deb10u1_armhf.deb ...
Unpacking libnode64:armhf (10.24.0~dfsg-1~deb10u1) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../nodejs_10.24.0~dfsg-1~deb10u1_armhf.deb ...
Unpacking nodejs (10.24.0~dfsg-1~deb10u1) ...
Selecting previously unselected package nodejs-doc.
Preparing to unpack .../nodejs-doc_10.24.0~dfsg-1~deb10u1_all.deb ...
Unpacking nodejs-doc (10.24.0~dfsg-1~deb10u1) ...
Setting up libc-ares2:armhf (1.14.0-1) ...
Setting up libnode64:armhf (10.24.0~dfsg-1~deb10u1) ...
Setting up nodejs-doc (10.24.0~dfsg-1~deb10u1) ...
Setting up nodejs (10.24.0~dfsg-1~deb10u1) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
Processing triggers for libc-bin (2.28-10+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Versions: node:v10.24.0 npm:
pi@pi3Solar:~ $ sudo bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
bash: /dev/fd/63: No such file or directory

Why are you running sudo?

the script says

Running the following command will download and run the script. If you want to review the contents of the script first, you can view it here.

bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

This script will work on any Debian-based operating system, including Ubuntu and Diet-Pi . You may need to run sudo apt install build-essential git first to ensure npm is able to build any binary modules it needs to install.

Hi
thanks for your hints.

but I tried the script in the first place but run into an error.

which I do not get any infromation about.

Install Node.js LTS ✘ Failed to install Node.js - Exit

I do not find any hints in the script.

That is also why I tried it with sudo.

Ho to solve the error now?

Thanks

Get:4 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster/main armhf nodejs-doc all 10.24.0~dfsg-1~deb10u1 [974 kB]
Fetched 6,002 kB in 10s (630 kB/s)
Selecting previously unselected package libc-ares2:armhf.
(Reading database ... 107610 files and directories currently installed.)
Preparing to unpack .../libc-ares2_1.14.0-1_armhf.deb ...
Unpacking libc-ares2:armhf (1.14.0-1) ...
Selecting previously unselected package libnode64:armhf.
Preparing to unpack .../libnode64_10.24.0~dfsg-1~deb10u1_armhf.deb ...
Unpacking libnode64:armhf (10.24.0~dfsg-1~deb10u1) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../nodejs_10.24.0~dfsg-1~deb10u1_armhf.deb ...
Unpacking nodejs (10.24.0~dfsg-1~deb10u1) ...
Selecting previously unselected package nodejs-doc.
Preparing to unpack .../nodejs-doc_10.24.0~dfsg-1~deb10u1_all.deb ...
Unpacking nodejs-doc (10.24.0~dfsg-1~deb10u1) ...
Setting up libc-ares2:armhf (1.14.0-1) ...
Setting up libnode64:armhf (10.24.0~dfsg-1~deb10u1) ...
Setting up nodejs-doc (10.24.0~dfsg-1~deb10u1) ...
Setting up nodejs (10.24.0~dfsg-1~deb10u1) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
Processing triggers for libc-bin (2.28-10+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Versions: node:v10.24.0 npm:

Post the full install log for the last time you ran the script.

after removing all node stuff manual via apt purge node*
and reboot it worked

thanks for your support

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