# Node red Arduino installation failed

**URL:** <https://discourse.nodered.org/t/node-red-arduino-installation-failed/71746>\
**Category:** General\
**Created:** [6 December 2022 06:02 UTC](https://discourse.nodered.org/t/node-red-arduino-installation-failed/71746 "2022-12-06T06:02:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TharinduSachinthaka](https://avatars.discourse-cdn.com/v4/letter/t/9e8a1a/32.png) [@TharinduSachinthaka](https://discourse.nodered.org/u/TharinduSachinthaka)\
**Post date:** [6 December 2022 06:02 UTC](https://discourse.nodered.org/t/node-red-arduino-installation-failed/71746/1 "2022-12-06T06:02:26Z")

</div>

I am an university student. I used node red to do my final project. But Arduino installation was failed. Can anybody help me to solve this. Error coed attached.

```auto
-----------------------------------------------------------

2022-12-06T05:50:41.090Z Install : @arduino/node-red-contrib-arduino-iot-cloud 1.0.7

2022-12-06T05:50:41.190Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict @arduino/node-red-contrib-arduino-iot-cloud@1.0.7

2022-12-06T05:50:42.318Z [err] npm

2022-12-06T05:50:42.319Z [err] WARN config production Use `--omit=dev` instead.

2022-12-06T05:50:56.360Z [err] npm

2022-12-06T05:50:56.360Z [err] ERR! code ENOENT

2022-12-06T05:50:56.360Z [err] npm

2022-12-06T05:50:56.360Z [err] ERR! syscall spawn git

2022-12-06T05:50:56.360Z [err] npm ERR! path git

2022-12-06T05:50:56.361Z [err] npm ERR! errno -4058

2022-12-06T05:50:56.363Z [err] npm ERR! enoent An unknown git error occurred

2022-12-06T05:50:56.363Z [err] npm ERR! enoent This is related to npm not being able to find a file.

2022-12-06T05:50:56.363Z [err] npm ERR! enoent

2022-12-06T05:50:56.364Z [err]

2022-12-06T05:50:56.364Z [err] npm ERR!

2022-12-06T05:50:56.364Z [err] A complete log of this run can be found in:

2022-12-06T05:50:56.364Z [err] npm ERR! C:\Users\acer\AppData\Local\npm-cache\_logs\2022-12-06T05_50_42_296Z-debug-0.log

2022-12-06T05:50:56.387Z rc=4294963238

-----------------------------------------------------------

2022-12-06T05:56:41.302Z Install : @arduino/node-red-contrib-arduino-iot-cloud 1.0.7

2022-12-06T05:56:41.314Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict @arduino/node-red-contrib-arduino-iot-cloud@1.0.7

2022-12-06T05:56:42.308Z [err] npm

2022-12-06T05:56:42.308Z [err] WARN config production Use `--omit=dev` instead.

2022-12-06T05:56:52.589Z [err] npm ERR! code

2022-12-06T05:56:52.589Z [err] ENOENT

2022-12-06T05:56:52.589Z [err] npm ERR! syscall spawn git

2022-12-06T05:56:52.589Z [err] npm ERR!

2022-12-06T05:56:52.589Z [err] path git

2022-12-06T05:56:52.590Z [err] npm ERR! errno -4058

2022-12-06T05:56:52.591Z [err] npm ERR! enoent An unknown git error occurred

2022-12-06T05:56:52.591Z [err] npm ERR!

2022-12-06T05:56:52.591Z [err] enoent This is related to npm not being able to find a file.

2022-12-06T05:56:52.591Z [err] npm ERR! enoent

2022-12-06T05:56:52.592Z [err]

2022-12-06T05:56:52.592Z [err] npm ERR! A complete log of this run can be found in:

2022-12-06T05:56:52.592Z [err] npm ERR! C:\Users\acer\AppData\Local\npm-cache\_logs\2022-12-06T05_56_42_279Z-debug-0.log

2022-12-06T05:56:52.613Z rc=4294963238

```

---

<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 December 2022 07:20 UTC](https://discourse.nodered.org/t/node-red-arduino-installation-failed/71746/2 "2022-12-06T07:20:33Z")

</div>

Welcome to the forum @TharinduSachinthaka

[quote="TharinduSachinthaka, post:1,  
topic:71746"]  
2022-12-06T05:50:56.360Z [err] ERR! syscall spawn git  
[/quote]

Is git installed? If not then install it.

---

<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:** [4 February 2023 07:20 UTC](https://discourse.nodered.org/t/node-red-arduino-installation-failed/71746/3 "2023-02-04T07:20:35Z")

</div>

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