# Failed to install: node-red-node-arduino

**URL:** <https://discourse.nodered.org/t/failed-to-install-node-red-node-arduino/59724>\
**Category:** General\
**Created:** [11 March 2022 15:19 UTC](https://discourse.nodered.org/t/failed-to-install-node-red-node-arduino/59724 "2022-03-11T15:19:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MercerMayhem](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@MercerMayhem](https://discourse.nodered.org/u/MercerMayhem)\
**Post date:** [11 March 2022 15:19 UTC](https://discourse.nodered.org/t/failed-to-install-node-red-node-arduino/59724/1 "2022-03-11T15:19:21Z")

</div>

This is the error log I am receiving, can anyone help?

```auto
2022-03-11T15:17:50.130Z Install : node-red-node-arduino 0.3.1

2022-03-11T15:17:50.492Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-node-arduino@0.3.1
2022-03-11T15:18:02.862Z [err] npm
2022-03-11T15:18:02.862Z [err] ERR! code 1
2022-03-11T15:18:02.862Z [err] npm ERR! path C:\Users\Ethan\.node-red\node_modules\@serialport\bindings
2022-03-11T15:18:02.865Z [err] npm ERR! command failed
2022-03-11T15:18:02.866Z [err] npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
2022-03-11T15:18:02.866Z [err] npm ERR! gyp info it worked if it ends with ok
2022-03-11T15:18:02.866Z [err] npm ERR! gyp info using node-gyp@8.4.1
2022-03-11T15:18:02.866Z [err] npm ERR! gyp info using node@17.7.1 | win32 | x64
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python 
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python checking if "python3" can be used
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python - "python3" is not in PATH or produced an error
2022-03-11T15:18:02.866Z [err] npm 
2022-03-11T15:18:02.866Z [err] ERR! gyp ERR! find Python checking if "python" can be used
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python - "python" is not in PATH or produced an error
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Users\Ethan\AppData\Local\Programs\Python\Python39\python.exe
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python - "C:\Users\Ethan\AppData\Local\Programs\Python\Python39\python.exe" could not be run
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39\python.exe
2022-03-11T15:18:02.866Z [err] npm
2022-03-11T15:18:02.866Z [err] ERR! gyp ERR! find Python - "C:\Program Files\Python39\python.exe" could not be run
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Users\Ethan\AppData\Local\Programs\Python\Python39-32\python.exe
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python - "C:\Users\Ethan\AppData\Local\Programs\Python\Python39-32\python.exe" could not be run
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39-32\python.exe
2022-03-11T15:18:02.866Z [err] npm 
2022-03-11T15:18:02.866Z [err] ERR! gyp ERR! find Python - "C:\Program Files\Python39-32\python.exe" could not be run
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python39-32\python.exe
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python39-32\python.exe" could not be run
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Users\Ethan\AppData\Local\Programs\Python\Python38\python.exe
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python - "C:\Users\Ethan\AppData\Local\Programs\Python\Python38\python.exe" could not be run
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python38\python.exe
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python - "C:\Program Files\Python38\python.exe" could not be run
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Users\Ethan\AppData\Local\Programs\Python\Python38-32\python.exe
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python - "C:\Users\Ethan\AppData\Local\Programs\Python\Python38-32\python.exe" could not be run
2022-03-11T15:18:02.866Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python38-32\python.exe
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python - "C:\Program Files\Python38-32\python.exe" could not be run
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python38-32\python.exe
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python38-32\python.exe" could not be run
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Users\Ethan\AppData\Local\Programs\Python\Python37\python.exe
2022-03-11T15:18:02.867Z [err] npm
2022-03-11T15:18:02.867Z [err] ERR! gyp ERR! find Python - "C:\Users\Ethan\AppData\Local\Programs\Python\Python37\python.exe" could not be run
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python37\python.exe
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python - "C:\Program Files\Python37\python.exe" could not be run
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Users\Ethan\AppData\Local\Programs\Python\Python37-32\python.exe
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python - "C:\Users\Ethan\AppData\Local\Programs\Python\Python37-32\python.exe" could not be run
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python37-32\python.exe
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python - "C:\Program Files\Python37-32\python.exe" could not be run
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python37-32\python.exe
2022-03-11T15:18:02.867Z [err] npm ERR!
2022-03-11T15:18:02.867Z [err] gyp ERR! find Python - "C:\Program Files (x86)\Python37-32\python.exe" could not be run
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Users\Ethan\AppData\Local\Programs\Python\Python36\python.exe
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python - "C:\Users\Ethan\AppData\Local\Programs\Python\Python36\python.exe" could not be run
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python36\python.exe
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python - "C:\Program Files\Python36\python.exe" could not be run
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Users\Ethan\AppData\Local\Programs\Python\Python36-32\python.exe
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python - "C:\Users\Ethan\AppData\Local\Programs\Python\Python36-32\python.exe" could not be run
2022-03-11T15:18:02.867Z [err] npm 
2022-03-11T15:18:02.867Z [err] ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python36-32\python.exe
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python - "C:\Program Files\Python36-32\python.exe" could not be run
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python36-32\python.exe
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python36-32\python.exe" could not be run
2022-03-11T15:18:02.867Z [err] npm
2022-03-11T15:18:02.867Z [err] ERR! gyp ERR! find Python checking if the py launcher can be used to find Python 3
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python - "py.exe" is not in PATH or produced an error
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python 
2022-03-11T15:18:02.867Z [err] npm 
2022-03-11T15:18:02.867Z [err] ERR! gyp ERR! find Python **********************************************************
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python You need to install the latest version of Python.
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
2022-03-11T15:18:02.867Z [err] npm 
2022-03-11T15:18:02.867Z [err] ERR! gyp ERR! find Python you can try one of the following options:
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python (accepted by both node-gyp and npm)
2022-03-11T15:18:02.867Z [err] npm 
2022-03-11T15:18:02.867Z [err] ERR! gyp ERR! find Python - Set the environment variable PYTHON
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python - Set the npm configuration variable python:
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python npm config set python "C:\Path\To\python.exe"
2022-03-11T15:18:02.867Z [err] npm 
2022-03-11T15:18:02.867Z [err] ERR! gyp ERR! find Python For more information consult the documentation at:
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! find Python **********************************************************
2022-03-11T15:18:02.867Z [err] npm
2022-03-11T15:18:02.867Z [err] ERR! gyp ERR! find Python 
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! configure error 
2022-03-11T15:18:02.867Z [err] npm ERR! gyp ERR! stack Error: Could not find any Python installation to use
2022-03-11T15:18:02.867Z [err] npm
2022-03-11T15:18:02.868Z [err] ERR! gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:330:47)
2022-03-11T15:18:02.868Z [err] npm ERR! gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:159:21)
2022-03-11T15:18:02.868Z [err] npm ERR! gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:228:18)
2022-03-11T15:18:02.868Z [err] npm ERR! gyp ERR! stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:294:16)
2022-03-11T15:18:02.868Z [err] npm ERR! gyp ERR! stack at exithandler (node:child_process:406:5)
2022-03-11T15:18:02.868Z [err] npm ERR! gyp ERR! stack at ChildProcess.errorhandler (node:child_process:418:5)
2022-03-11T15:18:02.868Z [err] npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:527:28)
2022-03-11T15:18:02.868Z [err] npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
2022-03-11T15:18:02.868Z [err] npm ERR! gyp ERR! stack at onErrorNT (node:internal/child_process:476:16)
2022-03-11T15:18:02.868Z [err] npm ERR! gyp ERR! stack at processTicksAndRejections (node:internal/process/task_queues:83:21)
2022-03-11T15:18:02.868Z [err] npm ERR! gyp ERR! System Windows_NT 10.0.19043
2022-03-11T15:18:02.868Z [err] npm ERR!
2022-03-11T15:18:02.868Z [err] gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
2022-03-11T15:18:02.868Z [err] npm ERR! gyp ERR! cwd C:\Users\Ethan\.node-red\node_modules\@serialport\bindings
2022-03-11T15:18:02.868Z [err] npm ERR! gyp ERR! node -v v17.7.1
2022-03-11T15:18:02.868Z [err] npm ERR! gyp ERR! node-gyp -v v8.4.1
2022-03-11T15:18:02.868Z [err] npm ERR! gyp ERR! not ok
2022-03-11T15:18:02.869Z [err] 
2022-03-11T15:18:02.869Z [err] npm 
2022-03-11T15:18:02.869Z [err] ERR! A complete log of this run can be found in:
2022-03-11T15:18:02.869Z [err] npm ERR! C:\Users\Ethan\AppData\Local\npm-cache\_logs\2022-03-11T15_17_51_936Z-debug-0.log
2022-03-11T15:18:02.892Z rc=1

```

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [11 March 2022 15:27 UTC](https://discourse.nodered.org/t/failed-to-install-node-red-node-arduino/59724/2 "2022-03-11T15:27:33Z")

</div>

Yes, you have exactly the same problem as this post earlier...

> [@Cant Install "node-red-contrib-usbhid" node](https://discourse.nodered.org/t/cant-install-node-red-contrib-usbhid-node/59685/3):
>
> No, its more likely the OP does not have the build tools installed. @jts450 You tried to install at path C:\Users\Justst03\ - I suspect this should be C:\Users\Justst03\.node-red\ node-red is not tested on NODE V17 - so i would uninstall that & install NODE V16 LTS or NODE V14 LTS when you install NODE, there is a checkbox to install build tools - this must be checked if you are to install any nodes that have a compilation step [image]

---

<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:** [10 May 2022 15:28 UTC](https://discourse.nodered.org/t/failed-to-install-node-red-node-arduino/59724/3 "2022-05-10T15:28:32Z")

</div>

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