# Facing problem in installing -node-arduino

**URL:** <https://discourse.nodered.org/t/facing-problem-in-installing-node-arduino/54517>\
**Category:** General\
**Created:** [30 November 2021 12:59 UTC](https://discourse.nodered.org/t/facing-problem-in-installing-node-arduino/54517 "2021-11-30T12:59:10Z")\
**Posts on this page:** 10\
**Page:** 2

<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:** [1 December 2021 20:22 UTC](https://discourse.nodered.org/t/facing-problem-in-installing-node-arduino/54517/21 "2021-12-01T20:22:47Z")

</div>

Was that in a command prompt with Admin privileges?  
Did it run to completion without error?

If so can you uninstall it  
`npm -g remove windows-build-tools`  
then reinstall using  
`npm install --global --production --add-python-to-path windows-build-tools`

---

<div class="post-metadata">

**Author:** ![binyameenaslam342](https://avatars.discourse-cdn.com/v4/letter/b/8e8cbc/32.png) [@binyameenaslam342](https://discourse.nodered.org/u/binyameenaslam342)\
**Post date:** [2 December 2021 05:18 UTC](https://discourse.nodered.org/t/facing-problem-in-installing-node-arduino/54517/22 "2021-12-02T05:18:22Z")

</div>

I have no idea what is happening here but here is the situation;

I uninstalled it and then reinstalled it using command `npm install --global --production windows-build-tools`

1. `node-red-node-arduino` installed successfully
2. `node-red-node-serialport` installed successfully
3. `node-red-node-serialport-wildcard` could not be installed. Same error as before.

My issue is resolved. I will be able to interface Arduino with node-red and will look into the issue later.

Thank You for such quick help. Really Appreciate.

---

<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:** [2 December 2021 08:23 UTC](https://discourse.nodered.org/t/facing-problem-in-installing-node-arduino/54517/23 "2021-12-02T08:23:04Z")

</div>

> [@binyameenaslam342](#):
>
> npm install --global --production windows-build-tools

You ran that one, not the one with the python path setting?

If so then if I understand correctly that is the same one you ran the first time. Is it possible that either you didn't let it run to completion (it can take a long time I believe) or that it failed in some way but you didn't notice the error message? If you ran it without admin privilege then I believe it would fail with an error.

> [@binyameenaslam342](#):
>
> `node-red-node-serialport-wildcard` could not be installed. Same error as before.

Exactly which error?

Were you able to install the arduino node?

---

<div class="post-metadata">

**Author:** ![binyameenaslam342](https://avatars.discourse-cdn.com/v4/letter/b/8e8cbc/32.png) [@binyameenaslam342](https://discourse.nodered.org/u/binyameenaslam342)\
**Post date:** [2 December 2021 08:44 UTC](https://discourse.nodered.org/t/facing-problem-in-installing-node-arduino/54517/24 "2021-12-02T08:44:06Z")

</div>

Yes I have installed arduino node but now I am facing another issue. Arduino is reading data perfectly from DHT-22 sensor but Nothing shows in the node-red dashboard or the debug window.

---

<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:** [2 December 2021 09:08 UTC](https://discourse.nodered.org/t/facing-problem-in-installing-node-arduino/54517/25 "2021-12-02T09:08:40Z")

</div>

Can you confirm which command you ran please? The one with the python path setting or the one without. Also please answer the other questions I asked about what might have gone wrong the first time, if possible. Others have had similar problems and I want to understand what happened if at all possible, in order to help others when it happens again. Thanks.

For the DHT-22 issue it is probably best to start another thread as that is about using the node rather than installing it.

---

<div class="post-metadata">

**Author:** ![binyameenaslam342](https://avatars.discourse-cdn.com/v4/letter/b/8e8cbc/32.png) [@binyameenaslam342](https://discourse.nodered.org/u/binyameenaslam342)\
**Post date:** [2 December 2021 12:28 UTC](https://discourse.nodered.org/t/facing-problem-in-installing-node-arduino/54517/26 "2021-12-02T12:28:00Z")

</div>

I tried both commands to reinstall build tools but in both cases, it gets stuck as shown in the screenshot attached.

 ![Screenshot 2021-12-02 172615](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/1/316e8203af1b9baf2068eadf49acaed6820db586.png)

---

<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:** [2 December 2021 13:04 UTC](https://discourse.nodered.org/t/facing-problem-in-installing-node-arduino/54517/27 "2021-12-02T13:04:57Z")

</div>

It has not completed, that is why you had the problems. It can take a long time, even hours on a slow network or low powered machine.

---

<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:** [2 December 2021 20:52 UTC](https://discourse.nodered.org/t/facing-problem-in-installing-node-arduino/54517/28 "2021-12-02T20:52:58Z")

</div>

@cymplecy has been carrying out experiments in [another thread](https://discourse.nodered.org/t/installing-windows-build-tools/54584) in order that we can understand what may be going on, and can update the docs as some of the Windows tools have changed.

When nodejs is installed it now comes up with dialog and a checkbox that can be selected to automatically install the tools as seen in post #8 of that thread. Do you remember seeing that and whether you selected it?

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [3 December 2021 11:28 UTC](https://discourse.nodered.org/t/facing-problem-in-installing-node-arduino/54517/29 "2021-12-03T11:28:27Z")

</div>

Just confirming that it works for me

I've connected an Arduino UNO and uploaded Standard Firmata to it and and I can control the LED (Pin13)

And I can read state of analog pin 0

---

<div class="post-metadata">

**Author:** ![binyameenaslam342](https://avatars.discourse-cdn.com/v4/letter/b/8e8cbc/32.png) [@binyameenaslam342](https://discourse.nodered.org/u/binyameenaslam342)\
**Post date:** [4 December 2021 16:59 UTC](https://discourse.nodered.org/t/facing-problem-in-installing-node-arduino/54517/30 "2021-12-04T16:59:26Z")

</div>

Yea that light blink experiment did not work for me either.

[Previous page](https://discourse.nodered.org/t/facing-problem-in-installing-node-arduino/54517.md?page=1)
