# Node-red-node-arduino 0.3.1

**URL:** <https://discourse.nodered.org/t/node-red-node-arduino-0-3-1/45204>\
**Category:** General\
**Created:** [5 May 2021 08:51 UTC](https://discourse.nodered.org/t/node-red-node-arduino-0-3-1/45204 "2021-05-05T08:51:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenkoknz](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@kenkoknz](https://discourse.nodered.org/u/kenkoknz)\
**Post date:** [5 May 2021 08:51 UTC](https://discourse.nodered.org/t/node-red-node-arduino-0-3-1/45204/1 "2021-05-05T08:51:34Z")

</div>

Hi,  
Pi3b  
nr 0.19.4;  
node v8.11.1  
npm v6.4.1

Yes I know its ancient, but the set up been working well with broadlink node for my home automation for ages, so never bother to upgrade. (I do have another Pi with more up to date nr for tinkering)

I dusted off the Pi3b the other day and was playing with some servo connected with the node-red-node-arduino. I thought I will update the arduino node via the palette, and now I get "Flows stopped due to missing node types -arduino board." on the palette it has a warning " \* Missing serialport dependency"

So:

1. how do fix this dependcy for the node-red-node-arduino  
0.3.1

2. If not possible how do I revert to the old version that works.

3. how do I get the other flows to start, so my HA works, as all flows have stopped (edit I solved this by deleting the node in the configuration node)

Thanks,

---

<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:** [5 May 2021 11:01 UTC](https://discourse.nodered.org/t/node-red-node-arduino-0-3-1/45204/2 "2021-05-05T11:01:39Z")

</div>

> [@kenkoknz](#):
>
> how do fix this dependcy for the node-red-node-arduino

In a terminal go into your .node-red folder and run  
`npm remove node-red-node-arduino`  
then install it again  
`npm install --unsafe-perm node-red-node-arduino`

If that doesn't end with an OK message telling which version has been installed then post the full output here.  
If it installed ok then restart node-red.

---

<div class="post-metadata">

**Author:** ![kenkoknz](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@kenkoknz](https://discourse.nodered.org/u/kenkoknz)\
**Post date:** [5 May 2021 22:24 UTC](https://discourse.nodered.org/t/node-red-node-arduino-0-3-1/45204/3 "2021-05-05T22:24:12Z")

</div>

## Hi Colin, Did as you suggested and it works, although I dont understand whats happening as there are some warnings in the log: pi@raspberrypi:~/.node-red $ npm install --unsafe-perm node-red-node-arduino

> @serialport/bindings@8.0.8 install /home/pi/.node-red/node\_modules/@serialport/bindings  
> prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=8.11.1 runtime=node arch=arm libc= platform=linux)  
make: Entering directory '/home/pi/.node-red/node\_modules/@serialport/bindings/build'  
CXX(target) Release/obj.target/bindings/src/serialport.o  
CXX(target) Release/obj.target/bindings/src/serialport\_unix.o  
CXX(target) Release/obj.target/bindings/src/poller.o  
CXX(target) Release/obj.target/bindings/src/serialport\_linux.o  
SOLINK\_MODULE(target) Release/obj.target/bindings.node  
COPY Release/bindings.node  
make: Leaving directory '/home/pi/.node-red/node\_modules/@serialport/bindings/build'

> serialport@8.0.8 postinstall /home/pi/.node-red/node\_modules/serialport  
> node thank-you.js

Thank you for using serialport!  
If you rely on this package, please consider supporting our open collective:

> [Contribute - Open Collective](https://opencollective.com/serialport/donate)

- node-red-node-arduino@0.3.1  
added 58 packages from 45 contributors and audited 1357 packages in 191.692s  
found 296 vulnerabilities (176 low, 24 moderate, 96 high)  
run `npm audit fix` to fix them, or `npm audit` for details

* * *

So what the difference with installing nodes with the palette (did not work in this case) vs npm install? Does the palette not invoke the same install command as npm install? Do I need to run npm audit fix?

Thanks,  
Ken

---

<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:** [6 May 2021 07:24 UTC](https://discourse.nodered.org/t/node-red-node-arduino-0-3-1/45204/4 "2021-05-06T07:24:15Z")

</div>

You can ignore the warnings.

The palette does run basically the same command. The reason for running it via the command line was firstly to make sure it was cleanly removed, in case it had partially installed, and then installing it again. Sometimes it is easier to see what the problem is when you have the console output. Since it then installed ok something must have been in a confused state, but we will likely never know exactly what.

---

<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:** [5 July 2021 07:24 UTC](https://discourse.nodered.org/t/node-red-node-arduino-0-3-1/45204/5 "2021-07-05T07:24:51Z")

</div>

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