# Solved Install error on script but can not identify the issue

**URL:** https://discourse.nodered.org/t/solved-install-error-on-script-but-can-not-identify-the-issue/42338
**Category:** General
**Created:** [9 March 2021 13:53 UTC](https://discourse.nodered.org/t/solved-install-error-on-script-but-can-not-identify-the-issue/42338 "2021-03-09T13:53:46Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![riker65](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/riker65/32/38453_2.png) [@riker65](https://discourse.nodered.org/u/riker65)
#### Post date: [9 March 2021 13:53 UTC](https://discourse.nodered.org/t/solved-install-error-on-script-but-can-not-identify-the-issue/42338/1 "2021-03-09T13:53:46Z")

</div>

Hi  
I tried to follow your recommendation to install node-red.  
as written here:  
[install script](https://nodered.org/docs/getting-started/raspberrypi)

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

```auto
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

```

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [9 March 2021 13:58 UTC](https://discourse.nodered.org/t/solved-install-error-on-script-but-can-not-identify-the-issue/42338/2 "2021-03-09T13:58:06Z")

</div>

> [@riker65](#):
>
> ```auto
> 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](https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered).

```auto
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.

---

<div class="post-metadata">

### Author: ![riker65](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/riker65/32/38453_2.png) [@riker65](https://discourse.nodered.org/u/riker65)
#### Post date: [9 March 2021 22:07 UTC](https://discourse.nodered.org/t/solved-install-error-on-script-but-can-not-identify-the-issue/42338/3 "2021-03-09T22:07:46Z")

</div>

> [@Steve-Mcl](#):
>
> sudo apt install build-essential git

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

```auto
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:

```

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [9 March 2021 22:20 UTC](https://discourse.nodered.org/t/solved-install-error-on-script-but-can-not-identify-the-issue/42338/4 "2021-03-09T22:20:24Z")

</div>

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

---

<div class="post-metadata">

### Author: ![riker65](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/riker65/32/38453_2.png) [@riker65](https://discourse.nodered.org/u/riker65)
#### Post date: [10 March 2021 07:26 UTC](https://discourse.nodered.org/t/solved-install-error-on-script-but-can-not-identify-the-issue/42338/5 "2021-03-10T07:26:28Z")

</div>

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

thanks for your support

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [24 March 2021 07:27 UTC](https://discourse.nodered.org/t/solved-install-error-on-script-but-can-not-identify-the-issue/42338/6 "2021-03-24T07:27:12Z")

</div>

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