# Errors on Installing nodes

**URL:** <https://discourse.nodered.org/t/errors-on-installing-nodes/29449>\
**Category:** General\
**Created:** [3 July 2020 15:24 UTC](https://discourse.nodered.org/t/errors-on-installing-nodes/29449 "2020-07-03T15:24:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![htrendafilov](https://avatars.discourse-cdn.com/v4/letter/h/e5b9ba/32.png) [@htrendafilov](https://discourse.nodered.org/u/htrendafilov)\
**Post date:** [3 July 2020 15:24 UTC](https://discourse.nodered.org/t/errors-on-installing-nodes/29449/1 "2020-07-03T15:24:56Z")

</div>

Hi!  
I just installed a new image to my raspberry PI4 and made some updates.  
Now I have  
Node-Red V1.1.0  
Node.js V14.5.0  
npm V6.14.5

I installed some new nodes from Palette Manager, but I see many fails during installation.  
Is that normal or I must change something in my raspberry setup???  
I installed S7, Ubidots and Dashboard nodes as you can see.

 ![IMG_1892](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/0/f0d2598f61056ec6f96b9c02e6c8212f48334248.jpeg) ![IMG_1893](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/4/f40713e8f7c08b4c0bd69873a4543f3ce5dbfabe.jpeg) ![IMG_1895](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/d/5df6ae2609f9a520e4cb1f0cac336c9e8120ade1.jpeg) ![IMG_1896](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/6/5629191bcd159a59d9ea0eff25bf28cc6fd603d7.jpeg)

---

<div class="post-metadata">

**Author:** ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)\
**Post date:** [3 July 2020 15:34 UTC](https://discourse.nodered.org/t/errors-on-installing-nodes/29449/2 "2020-07-03T15:34:02Z")

</div>

The node you're installing requires underlying libraries to compile native bindings. Those appear to be missing on your system. It's complaining about a missing `libudev.h` to install `libusb`. Have you tried installing the relevant dev packages for your file system? If you're on a debian based OS, you can install it through `sudo apt-get install libudev-dev`, afterwards, go to your node-red user directory (`/home/pi/.node-red`) and run `npm install` to fix the failed installs.

> [@htrendafilov](#):
>
> Node.js V14.5.0

I see that you're using NodeJS v14, which I think is the new LTS, but it's not officially supported by Node-RED yet. It means you can run into unforeseen issues.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [3 July 2020 15:45 UTC](https://discourse.nodered.org/t/errors-on-installing-nodes/29449/3 "2020-07-03T15:45:59Z")

</div>

> [@afelix](#):
>
> but it's not officially supported by Node-RED yet. It means you can run into unforeseen issues.

We support all LTS versions, including 14.

We _recommend_ 12, but at this point, 14 has been around long enough to reasonably expect it to work just fine.

---

<div class="post-metadata">

**Author:** ![htrendafilov](https://avatars.discourse-cdn.com/v4/letter/h/e5b9ba/32.png) [@htrendafilov](https://discourse.nodered.org/u/htrendafilov)\
**Post date:** [3 July 2020 15:48 UTC](https://discourse.nodered.org/t/errors-on-installing-nodes/29449/4 "2020-07-03T15:48:13Z")

</div>

Thanks !!! 🙂  
so no need to reimage again 🙂

Is there any way for Downgrade - anyway ?

---

<div class="post-metadata">

**Author:** ![htrendafilov](https://avatars.discourse-cdn.com/v4/letter/h/e5b9ba/32.png) [@htrendafilov](https://discourse.nodered.org/u/htrendafilov)\
**Post date:** [3 July 2020 15:50 UTC](https://discourse.nodered.org/t/errors-on-installing-nodes/29449/5 "2020-07-03T15:50:00Z")

</div>

Thank you!  
I executed your adviced commands.  
Shall this fix the both problems " It's complaining about a missing `libudev.h` to install `libusb`"?

Can I uninstall those 3 node packages and install again to check that no errors accure?

---

<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:** [3 July 2020 20:46 UTC](https://discourse.nodered.org/t/errors-on-installing-nodes/29449/6 "2020-07-03T20:46:50Z")

</div>

No need to uninstall, just install again, so in a terminal go to your .node-red folder then run  
`npm install node-name`  
where node-name is the name of the node you want to re-install.

If you want to go back to a recommended version of nodejs then the first question is how you installed nodejs initially. The recommended way to install nodejs and node-red is to use the recommended install/upgrade script from [https://nodered.org/docs/getting-started/raspberrypi](https://nodered.org/docs/getting-started/raspberrypi) but I would not have expected that to install nodejs 14. To go back to a recommended version first uninstall the current one using  
`sudo apt remove nodejs`  
then re-install node-red using the recommended install script from [https://nodered.org/docs/getting-started/raspberrypi](https://nodered.org/docs/getting-started/raspberrypi)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [3 July 2020 22:08 UTC](https://discourse.nodered.org/t/errors-on-installing-nodes/29449/7 "2020-07-03T22:08:58Z")

</div>

Just installing those missing libs then retrying the nodes install should be enough to fix it. Please let us know if it doesn't, as we would like to get nodes fixed rather than having to tell everyone to revert nodejs

---

<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:** [1 September 2020 22:08 UTC](https://discourse.nodered.org/t/errors-on-installing-nodes/29449/8 "2020-09-01T22:08:58Z")

</div>

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