# Arduino node installed but get error when deploy?

**URL:** <https://discourse.nodered.org/t/arduino-node-installed-but-get-error-when-deploy/70513>\
**Category:** General\
**Created:** [12 November 2022 20:18 UTC](https://discourse.nodered.org/t/arduino-node-installed-but-get-error-when-deploy/70513 "2022-11-12T20:18:42Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eskolin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/eskolin/32/70655_2.png) [@Eskolin](https://discourse.nodered.org/u/Eskolin)\
**Post date:** [12 November 2022 20:18 UTC](https://discourse.nodered.org/t/arduino-node-installed-but-get-error-when-deploy/70513/1 "2022-11-12T20:18:42Z")

</div>

Hi alll

I have a problem when I deploy my flow, I am using arduino running firmata firmware and it has running fine when I usede a RPI but I am now using a Unbunto PC, all other nodes there is no problem when I deploy. I can see that the Arduino node is installed  
I have updated node - red to latest ver.

regards Bent

![2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/0/700907529cad37699ef9f03d9b50cf7dfa229bb8.gif)  
 ![1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/e/0ee467f58eca081b8ff9da46cde3bbe9a9834471.gif)

---

<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:** [12 November 2022 21:04 UTC](https://discourse.nodered.org/t/arduino-node-installed-but-get-error-when-deploy/70513/2 "2022-11-12T21:04:17Z")

</div>

Welcome to the forum @Eskolin

Go into your .node-red directory and run  
`npm remove node-red-node-arduino`  
and then  
`npm install --unsafe-perm node-red-node-arduino`

If that shows any errors then paste the full output here please. Copy/paste not screenshot please.  
If it doesn't show an error then restart node-red and refresh the browser and see if it is now ok.

---

<div class="post-metadata">

**Author:** ![Eskolin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/eskolin/32/70655_2.png) [@Eskolin](https://discourse.nodered.org/u/Eskolin)\
**Post date:** [13 November 2022 09:31 UTC](https://discourse.nodered.org/t/arduino-node-installed-but-get-error-when-deploy/70513/3 "2022-11-13T09:31:12Z")

</div>

Hi Colin

1. I started to remove all my flows
2. Go into your .node-red directory and run`npm remove node-red-node-arduino`  
and then `npm install --unsafe-perm node-red-node-arduino`
3. imported my Arduino-meter.flow
4. Deploy and now I get a error ??? as you can se in the left of the picture I have the Arduino node installed ??

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/3/e3fb5aa4a97e386e9c45148991b96da247cde4f5.png)

any Idea what is wrong ???

Ben

---

<div class="post-metadata">

**Author:** ![Eskolin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/eskolin/32/70655_2.png) [@Eskolin](https://discourse.nodered.org/u/Eskolin)\
**Post date:** [13 November 2022 09:35 UTC](https://discourse.nodered.org/t/arduino-node-installed-but-get-error-when-deploy/70513/4 "2022-11-13T09:35:24Z")

</div>

if i look to se in " Seartch for unknown nodes " I get this picture

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/f/6ffbf732cdc49799c16563cac92d925c50577441.png)

Ben

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [13 November 2022 10:14 UTC](https://discourse.nodered.org/t/arduino-node-installed-but-get-error-when-deploy/70513/5 "2022-11-13T10:14:53Z")

</div>

Did you doubleclick on 1 of the arduino-in nodes and configure it ?

---

<div class="post-metadata">

**Author:** ![Eskolin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/eskolin/32/70655_2.png) [@Eskolin](https://discourse.nodered.org/u/Eskolin)\
**Post date:** [13 November 2022 10:32 UTC](https://discourse.nodered.org/t/arduino-node-installed-but-get-error-when-deploy/70513/6 "2022-11-13T10:32:14Z")

</div>

no I did not.... just imported the flow and deploy it...nothing else

Ben

---

<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:** [13 November 2022 10:34 UTC](https://discourse.nodered.org/t/arduino-node-installed-but-get-error-when-deploy/70513/7 "2022-11-13T10:34:05Z")

</div>

> [@Eskolin](#):
>
> - I started to remove all my flows
> - Go into your .node-red directory and run`npm remove node-red-node-arduino`  
> and then `npm install --unsafe-perm node-red-node-arduino`
> - imported my Arduino-meter.flow
> - Deploy and now I get a error ??? as you can se in the left of the picture I have the Arduino node installed ??

Did you restart node-red and refresh the browser after the `npm install`?  
If you did then go into your .node-red folder and run  
`npm list node-red-node-arduino`  
Post the full output from that command, including the line with the command. Copy/paste, not screenshot please.

---

<div class="post-metadata">

**Author:** ![Eskolin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/eskolin/32/70655_2.png) [@Eskolin](https://discourse.nodered.org/u/Eskolin)\
**Post date:** [13 November 2022 19:33 UTC](https://discourse.nodered.org/t/arduino-node-installed-but-get-error-when-deploy/70513/8 "2022-11-13T19:33:36Z")

</div>

Hi Colin

I removed all flows and also the arduino node as you write, and then close down the PC there run node-red,and then install the arduino-node and the last I importede my arduino-flow.... AND IT WORKS 🙂

so now I can go to next level and get Mosquitto to worke 😉

thanks for all help from the forum guy's

Ben

---

<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:** [27 November 2022 19:34 UTC](https://discourse.nodered.org/t/arduino-node-installed-but-get-error-when-deploy/70513/9 "2022-11-27T19:34:12Z")

</div>

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