# Arduino node will not install?

**URL:** https://discourse.nodered.org/t/arduino-node-will-not-install/70877
**Category:** General
**Created:** [19 November 2022 16:00 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877 "2022-11-19T16:00:46Z")
**Posts on this page:** 20
**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: [19 November 2022 16:00 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/1 "2022-11-19T16:00:46Z")

</div>

Hi ...

I am trying to install "Arduino -node-red-node-arduino"  
A Node-RED node to talk to an Arduino running firmata

it is on a new PC whit Win-10  
C:\Users\Node-Red\>node -v  
v18.12.1  
C:\Users\Node-Red\>npm -v  
9.1.2

here is the error log:  
2022-11-19T15:56:39.054Z Install : node-red-node-arduino 0.3.1

2022-11-19T15:56:39.391Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-node-arduino@0.3.1

2022-11-19T15:56:40.555Z [err] npm

2022-11-19T15:56:40.555Z [err] WARN config

2022-11-19T15:56:40.555Z [err] production Use `--omit=dev` instead.

2022-11-19T15:56:49.785Z [err] npm

2022-11-19T15:56:49.786Z [err] ERR! code 1

2022-11-19T15:56:49.786Z [err] npm ERR! path C:\Users\Node-Red.node-red\node\_modules@serialport\bindings

2022-11-19T15:56:49.789Z [err] npm ERR!

2022-11-19T15:56:49.789Z [err] command failed

2022-11-19T15:56:49.789Z [err] npm ERR! command C:\Windows\system32\cmd.exe /d /s /c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

2022-11-19T15:56:49.789Z [err] npm ERR!

2022-11-19T15:56:49.789Z [err] gyp info it worked if it ends with ok

2022-11-19T15:56:49.789Z [err] npm ERR! gyp info using node-gyp@9.3.0

2022-11-19T15:56:49.789Z [err] npm ERR! gyp info using node@18.12.1 | win32 | x64

2022-11-19T15:56:49.789Z [err] npm ERR! gyp ERR! find Python

2022-11-19T15:56:49.789Z [err] npm

2022-11-19T15:56:49.789Z [err] ERR! gyp ERR! find Python Python is not set from command line or npm configuration

2022-11-19T15:56:49.789Z [err] npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON

2022-11-19T15:56:49.789Z [err] npm ERR! gyp ERR! find Python checking if "python3" can be used

2022-11-19T15:56:49.789Z [err] npm ERR! gyp ERR! find Python - "python3" is not in PATH or produced an error

2022-11-19T15:56:49.789Z [err] npm ERR!

2022-11-19T15:56:49.790Z [err] gyp ERR! find Python checking if "python" can be used

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python - "python" is not in PATH or produced an error

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Users\Node-Red\AppData\Local\Programs\Python\Python39\python.exe

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python - "C:\Users\Node-Red\AppData\Local\Programs\Python\Python39\python.exe" could not be run

2022-11-19T15:56:49.790Z [err] npm

2022-11-19T15:56:49.790Z [err] ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39\python.exe

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python - "C:\Program Files\Python39\python.exe" could not be run

2022-11-19T15:56:49.790Z [err] npm ERR!

2022-11-19T15:56:49.790Z [err] gyp ERR! find Python checking if Python is C:\Users\Node-Red\AppData\Local\Programs\Python\Python39-32\python.exe

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python - "C:\Users\Node-Red\AppData\Local\Programs\Python\Python39-32\python.exe" could not be run

2022-11-19T15:56:49.790Z [err] npm

2022-11-19T15:56:49.790Z [err] ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39-32\python.exe

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python - "C:\Program Files\Python39-32\python.exe" could not be run

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python39-32\python.exe

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python39-32\python.exe" could not be run

2022-11-19T15:56:49.790Z [err] npm ERR!

2022-11-19T15:56:49.790Z [err] gyp ERR! find Python checking if Python is C:\Users\Node-Red\AppData\Local\Programs\Python\Python38\python.exe

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python - "C:\Users\Node-Red\AppData\Local\Programs\Python\Python38\python.exe" could not be run

2022-11-19T15:56:49.790Z [err] npm ERR!

2022-11-19T15:56:49.790Z [err] gyp ERR! find Python checking if Python is C:\Program Files\Python38\python.exe

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python - "C:\Program Files\Python38\python.exe" could not be run

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Users\Node-Red\AppData\Local\Programs\Python\Python38-32\python.exe

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python - "C:\Users\Node-Red\AppData\Local\Programs\Python\Python38-32\python.exe" could not be run

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python38-32\python.exe

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python - "C:\Program Files\Python38-32\python.exe" could not be run

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python38-32\python.exe

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python38-32\python.exe" could not be run

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Users\Node-Red\AppData\Local\Programs\Python\Python37\python.exe

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python - "C:\Users\Node-Red\AppData\Local\Programs\Python\Python37\python.exe" could not be run

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python37\python.exe

2022-11-19T15:56:49.790Z [err] npm

2022-11-19T15:56:49.790Z [err] ERR! gyp ERR! find Python - "C:\Program Files\Python37\python.exe" could not be run

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Users\Node-Red\AppData\Local\Programs\Python\Python37-32\python.exe

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python - "C:\Users\Node-Red\AppData\Local\Programs\Python\Python37-32\python.exe" could not be run

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python37-32\python.exe

2022-11-19T15:56:49.790Z [err] npm ERR!

2022-11-19T15:56:49.790Z [err] gyp ERR! find Python - "C:\Program Files\Python37-32\python.exe" could not be run

2022-11-19T15:56:49.790Z [err] npm ERR!

2022-11-19T15:56:49.790Z [err] gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python37-32\python.exe

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python37-32\python.exe" could not be run

2022-11-19T15:56:49.790Z [err] npm

2022-11-19T15:56:49.790Z [err] ERR! gyp ERR! find Python checking if Python is C:\Users\Node-Red\AppData\Local\Programs\Python\Python36\python.exe

2022-11-19T15:56:49.790Z [err] npm ERR! gyp ERR! find Python - "C:\Users\Node-Red\AppData\Local\Programs\Python\Python36\python.exe" could not be run

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python36\python.exe

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! find Python - "C:\Program Files\Python36\python.exe" could not be run

2022-11-19T15:56:49.791Z [err] npm ERR!

2022-11-19T15:56:49.791Z [err] gyp ERR! find Python checking if Python is C:\Users\Node-Red\AppData\Local\Programs\Python\Python36-32\python.exe

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! find Python - "C:\Users\Node-Red\AppData\Local\Programs\Python\Python36-32\python.exe" could not be run

2022-11-19T15:56:49.791Z [err] npm

2022-11-19T15:56:49.791Z [err] ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python36-32\python.exe

2022-11-19T15:56:49.791Z [err] npm ERR!

2022-11-19T15:56:49.791Z [err] gyp ERR! find Python - "C:\Program Files\Python36-32\python.exe" could not be run

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python36-32\python.exe

2022-11-19T15:56:49.791Z [err] npm

2022-11-19T15:56:49.791Z [err] ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python36-32\python.exe" could not be run

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! find Python checking if the py launcher can be used to find Python 3

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! find Python - "py.exe" is not in PATH or produced an error

2022-11-19T15:56:49.791Z [err] npm

2022-11-19T15:56:49.791Z [err] ERR! gyp ERR! find Python

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! find Python \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! find Python You need to install the latest version of Python.

2022-11-19T15:56:49.791Z [err] npm ERR!

2022-11-19T15:56:49.791Z [err] gyp ERR! find Python Node-gyp should be able to find and use Python. If not,

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! find Python you can try one of the following options:

2022-11-19T15:56:49.791Z [err] npm

2022-11-19T15:56:49.791Z [err] ERR! gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! find Python (accepted by both node-gyp and npm)

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! find Python - Set the environment variable PYTHON

2022-11-19T15:56:49.791Z [err] npm ERR!

2022-11-19T15:56:49.791Z [err] gyp ERR! find Python - Set the npm configuration variable python:

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! find Python npm config set python "C:\Path\To\python.exe"

2022-11-19T15:56:49.791Z [err] npm

2022-11-19T15:56:49.791Z [err] ERR! gyp ERR! find Python For more information consult the documentation at:

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! find Python [GitHub - nodejs/node-gyp: Node.js native addon build tool](https://github.com/nodejs/node-gyp#installation)

2022-11-19T15:56:49.791Z [err] npm

2022-11-19T15:56:49.791Z [err] ERR! gyp ERR! find Python \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

2022-11-19T15:56:49.791Z [err] npm

2022-11-19T15:56:49.791Z [err] ERR! gyp ERR! find Python

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! configure error

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! stack Error: Could not find any Python installation to use

2022-11-19T15:56:49.791Z [err] npm ERR!

2022-11-19T15:56:49.791Z [err] gyp ERR! stack at PythonFinder.fail (C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\npm\node\_modules\node-gyp\lib\find-python.js:330:47)

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! stack at PythonFinder.runChecks (C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\npm\node\_modules\node-gyp\lib\find-python.js:159:21)

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! stack at PythonFinder. (C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\npm\node\_modules\node-gyp\lib\find-python.js:228:18)

2022-11-19T15:56:49.791Z [err] npm

2022-11-19T15:56:49.791Z [err] ERR! gyp ERR! stack at PythonFinder.execFileCallback (C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\npm\node\_modules\node-gyp\lib\find-python.js:294:16)

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! stack at exithandler (node:child\_process:420:5)

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! stack at ChildProcess.errorhandler (node:child\_process:432:5)

2022-11-19T15:56:49.791Z [err] npm ERR!

2022-11-19T15:56:49.791Z [err] gyp ERR! stack at ChildProcess.emit (node:events:513:28)

2022-11-19T15:56:49.791Z [err] npm ERR! gyp ERR! stack at ChildProcess.\_handle.onexit (node:internal/child\_process:289:12)

2022-11-19T15:56:49.791Z [err] npm ERR!

2022-11-19T15:56:49.792Z [err] gyp ERR! stack at onErrorNT (node:internal/child\_process:476:16)

2022-11-19T15:56:49.792Z [err] npm ERR! gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task\_queues:82:21)

2022-11-19T15:56:49.792Z [err] npm ERR!

2022-11-19T15:56:49.792Z [err] gyp ERR! System Windows\_NT 10.0.14393

2022-11-19T15:56:49.792Z [err] npm

2022-11-19T15:56:49.792Z [err]

2022-11-19T15:56:49.792Z [err] ERR!

2022-11-19T15:56:49.792Z [err] gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\npm\node\_modules\node-gyp\bin\node-gyp.js" "rebuild"

2022-11-19T15:56:49.792Z [err] npm

2022-11-19T15:56:49.792Z [err]

2022-11-19T15:56:49.792Z [err] ERR!

2022-11-19T15:56:49.792Z [err] gyp ERR! cwd C:\Users\Node-Red.node-red\node\_modules@serialport\bindings

2022-11-19T15:56:49.792Z [err] npm

2022-11-19T15:56:49.793Z [err]

2022-11-19T15:56:49.793Z [err] ERR!

2022-11-19T15:56:49.793Z [err] gyp ERR! node -v v18.12.1

2022-11-19T15:56:49.793Z [err] npm

2022-11-19T15:56:49.793Z [err]

2022-11-19T15:56:49.793Z [err] ERR!

2022-11-19T15:56:49.793Z [err] gyp ERR! node-gyp -v v9.3.0

2022-11-19T15:56:49.793Z [err] npm

2022-11-19T15:56:49.793Z [err]

2022-11-19T15:56:49.793Z [err] ERR! gyp ERR! not ok

2022-11-19T15:56:49.796Z [err]

2022-11-19T15:56:49.796Z [err] npm ERR! A complete log of this run can be found in:

2022-11-19T15:56:49.796Z [err] npm ERR! C:\Users\Node-Red\AppData\Local\npm-cache\_logs\2022-11-19T15\_56\_40\_530Z-debug-0.log

2022-11-19T15:56:49.819Z rc=1

---

<div class="post-metadata">

### Author: ![gemini86](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gemini86/32/70967_2.png) [@gemini86](https://discourse.nodered.org/u/gemini86)
#### Post date: [19 November 2022 16:35 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/2 "2022-11-19T16:35:45Z")

</div>

You need to install build tools

 ![Screenshot_20221119-083403](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/4/84b17bb892fc72f3d069262b64d968c80857c0d8.png)

[https://nodered.org/docs/getting-started/windows](https://nodered.org/docs/getting-started/windows)

---

<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: [20 November 2022 07:25 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/3 "2022-11-20T07:25:04Z")

</div>

HI..

I try to run the 2 npm command , but it will not install the Arduino node, all othere nodes is installe whitout any problems.

here is a screen dump what my PC write:

Microsoft Windows [Version 10.0.14393]  
(c) 2016 Microsoft Corporation. All rights reserved.

C:\Windows\system32\>npm install --global --production windows-build-tools  
npm WARN config production Use `--omit=dev` instead.  
npm WARN deprecated har-validator@5.1.5: this library is no longer supported  
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See [There’s Math.random(), and then there’s Math.random() · V8](https://v8.dev/blog/math-random) for details.  
npm WARN deprecated request@2.88.2: request has been deprecated, see [https://github.com/request/request/issues/3142](https://github.com/request/request/issues/3142)  
npm WARN deprecated windows-build-tools@5.2.2: Node.js now includes build tools for Windows. You probably no longer need this tool. See [GitHub - felixrieseberg/windows-build-tools: Install C++ Build Tools for Windows using npm](https://github.com/felixrieseberg/windows-build-tools) for details.  
npm ERR! code 1  
npm ERR! path C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\windows-build-tools  
npm ERR! command failed  
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node ./dist/index.js  
Downloading python-2.7.15.amd64.msi  
npm ERR! [============================================\>] 100.0% (0 B/s)  
npm ERR! Downloaded python-2.7.15.amd64.msi. Saved to C:\Users\Node-Red.windows-build-tools\python-2.7.15.amd64.msi.  
Downloading vs\_BuildTools.exe  
npm ERR! [============================================\>] 100.0% (0 B/s)  
npm ERR! Downloaded vs\_BuildTools.exe. Saved to C:\Users\Node-Red.windows-build-tools\vs\_BuildTools.exe.  
npm ERR!  
npm ERR! Starting installation...  
npm ERR! Downloading installers failed. Error: TypeError: 'process.env' only accepts a configurable, writable, and enumerable data descriptor  
npm ERR! at Function.defineProperty ()  
npm ERR! at Object.removePath (C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\windows-build-tools\dist\utils\remove-path.js:11:12)  
npm ERR! at Object.install (C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\windows-build-tools\dist\install\index.js:29:19)  
npm ERR! at C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\windows-build-tools\dist\start.js:17:19  
npm ERR! at Object.download (C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\windows-build-tools\dist\download.js:35:5)  
npm ERR! at process.processTicksAndRejections (node:internal/process/task\_queues:95:5)  
npm ERR! at async Object.aquireInstallers (C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\windows-build-tools\dist\aquire-installers.js:32:13) {  
npm ERR! code: 'ERR\_INVALID\_OBJECT\_DEFINE\_PROPERTY'  
npm ERR! }  
npm ERR! windows-build-tools will now exit.

npm ERR! A complete log of this run can be found in:  
npm ERR! C:\Users\Node-Red\AppData\Local\npm-cache\_logs\2022-11-20T07\_17\_32\_625Z-debug-0.log

C:\Windows\system32\>npm install --global --production --add-python-to-path windows-build-tools  
npm WARN config production Use `--omit=dev` instead.  
npm WARN deprecated har-validator@5.1.5: this library is no longer supported  
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See [There’s Math.random(), and then there’s Math.random() · V8](https://v8.dev/blog/math-random) for details.  
npm WARN deprecated request@2.88.2: request has been deprecated, see [https://github.com/request/request/issues/3142](https://github.com/request/request/issues/3142)  
npm WARN deprecated windows-build-tools@5.2.2: Node.js now includes build tools for Windows. You probably no longer need this tool. See [GitHub - felixrieseberg/windows-build-tools: Install C++ Build Tools for Windows using npm](https://github.com/felixrieseberg/windows-build-tools) for details.  
npm ERR! code 1  
npm ERR! path C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\windows-build-tools  
npm ERR! command failed  
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node ./dist/index.js  
Downloading python-2.7.15.amd64.msi  
npm ERR! [============================================\>] 100.0% (0 B/s)  
npm ERR! Downloaded python-2.7.15.amd64.msi. Saved to C:\Users\Node-Red.windows-build-tools\python-2.7.15.amd64.msi.  
Downloading vs\_BuildTools.exe  
npm ERR! [============================================\>] 100.0% (0 B/s)  
npm ERR! Downloaded vs\_BuildTools.exe. Saved to C:\Users\Node-Red.windows-build-tools\vs\_BuildTools.exe.  
npm ERR!  
npm ERR! Starting installation...  
npm ERR! Downloading installers failed. Error: TypeError: 'process.env' only accepts a configurable, writable, and enumerable data descriptor  
npm ERR! at Function.defineProperty ()  
npm ERR! at Object.removePath (C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\windows-build-tools\dist\utils\remove-path.js:11:12)  
npm ERR! at Object.install (C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\windows-build-tools\dist\install\index.js:29:19)  
npm ERR! at C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\windows-build-tools\dist\start.js:17:19  
npm ERR! at Object.download (C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\windows-build-tools\dist\download.js:35:5)  
npm ERR! at process.processTicksAndRejections (node:internal/process/task\_queues:95:5)  
npm ERR! at async Object.aquireInstallers (C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\windows-build-tools\dist\aquire-installers.js:32:13) {  
npm ERR! code: 'ERR\_INVALID\_OBJECT\_DEFINE\_PROPERTY'  
npm ERR! }  
npm ERR! windows-build-tools will now exit.

npm ERR! A complete log of this run can be found in:  
npm ERR! C:\Users\Node-Red\AppData\Local\npm-cache\_logs\2022-11-20T07\_18\_42\_320Z-debug-0.log

C:\Windows\system32\>

---

<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: [20 November 2022 15:17 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/4 "2022-11-20T15:17:15Z")

</div>

Maybe you can try to install the Arduino node (whit the firmata funktion)... And see if you gat same error.

Ben

---

<div class="post-metadata">

### Author: ![gemini86](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gemini86/32/70967_2.png) [@gemini86](https://discourse.nodered.org/u/gemini86)
#### Post date: [20 November 2022 15:36 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/5 "2022-11-20T15:36:17Z")

</div>

You may be better off going to [the node.js website](https://nodejs.org/) and downloading the latest LTS version and installing it. There will be an option to check that will install build-tools.

---

<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: [20 November 2022 16:19 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/6 "2022-11-20T16:19:20Z")

</div>

Hi Gemini86

I have build me a new PC whit win-10 and install Node-red on it, and I have also installed all this node:

node-red-contrib-msg-resend

node-red-contrib-ui-led

node-red-contrib-ui-level

node-red-contrib-ui-media

node-red-node-ui-list

node-red-dashboard

node-red-node-wol

node-red-contrib-string

node-red-contrib-ui-svg

node-red-contrib-simple-gate

node-red-node-ping

node-red-contrib-flexradio

node-red-contrib-convert

node-red-contrib-image-tools

node-red-contrib-startup-trigger

node-red-contrib-ui-digital-display

But I get error on this node:

node-red-contrib-stoptimer3

and also on

node-red-arduino (Node to talk to an Arduino running firmata)

and I as you wrote, I installed the last node.js..... but still same problem

I am not a expert in node-red just a novice...but this problem is out of my mind 😉

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: [20 November 2022 17:00 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/7 "2022-11-20T17:00:43Z")

</div>

When you installed nodejs did you tell it to install the build tools?

---

<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: [20 November 2022 17:13 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/8 "2022-11-20T17:13:15Z")

</div>

HI Colin

yes I marked the field whit the option

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

---

<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: [20 November 2022 17:15 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/9 "2022-11-20T17:15:32Z")

</div>

HI Colin

I got a freind in the US and he also got a Error when he try to install this Arduino node !!!

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: [20 November 2022 17:22 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/10 "2022-11-20T17:22:45Z")

</div>

What error are you now getting?

---

<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: [20 November 2022 17:26 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/11 "2022-11-20T17:26:24Z")

</div>

## error-log when I try to install the Arduino node:

* * *

2022-11-20T17:24:53.752Z Install : node-red-node-arduino 0.3.1

2022-11-20T17:24:54.087Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-node-arduino@0.3.1  
2022-11-20T17:24:55.568Z [err] npm  
2022-11-20T17:24:55.569Z [err]  
2022-11-20T17:24:55.569Z [err] WARN config  
2022-11-20T17:24:55.569Z [err] production Use `--omit=dev` instead.  
2022-11-20T17:25:08.722Z [err] npm  
2022-11-20T17:25:08.722Z [err] ERR! code 1  
2022-11-20T17:25:08.722Z [err] npm ERR!  
2022-11-20T17:25:08.722Z [err] path c:\Users\Node-Red.node-red\node\_modules@serialport\bindings  
2022-11-20T17:25:08.726Z [err] npm ERR!  
2022-11-20T17:25:08.726Z [err] command failed  
2022-11-20T17:25:08.726Z [err] npm ERR! command C:\Windows\system32\cmd.exe /d /s /c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild  
2022-11-20T17:25:08.726Z [err] npm ERR! gyp info it worked if it ends with ok  
2022-11-20T17:25:08.726Z [err] npm  
2022-11-20T17:25:08.727Z [err] ERR! gyp info using node-gyp@9.3.0  
2022-11-20T17:25:08.727Z [err] npm ERR! gyp info using node@18.12.1 | win32 | x64  
2022-11-20T17:25:08.727Z [err] npm ERR! gyp info find Python using Python version 3.11.0 found at "C:\Python311\python.exe"  
2022-11-20T17:25:08.727Z [err] npm ERR! gyp ERR! find VS  
2022-11-20T17:25:08.727Z [err] npm ERR! gyp ERR! find VS msvs\_version not set from command line or npm config  
2022-11-20T17:25:08.727Z [err] npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt  
2022-11-20T17:25:08.727Z [err] npm  
2022-11-20T17:25:08.727Z [err] ERR! gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details  
2022-11-20T17:25:08.727Z [err] npm ERR! gyp ERR! find VS looking for Visual Studio 2015  
2022-11-20T17:25:08.727Z [err] npm ERR! gyp ERR! find VS - not found  
2022-11-20T17:25:08.727Z [err] npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8  
2022-11-20T17:25:08.727Z [err] npm ERR! gyp ERR! find VS  
2022-11-20T17:25:08.727Z [err] npm ERR!  
2022-11-20T17:25:08.727Z [err] gyp ERR! find VS \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
2022-11-20T17:25:08.727Z [err] npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio  
2022-11-20T17:25:08.727Z [err] npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.  
2022-11-20T17:25:08.727Z [err] npm ERR! gyp ERR! find VS For more information consult the documentation at:  
2022-11-20T17:25:08.727Z [err] npm ERR! gyp ERR! find VS [GitHub - nodejs/node-gyp: Node.js native addon build tool](https://github.com/nodejs/node-gyp#on-windows)  
2022-11-20T17:25:08.727Z [err] npm  
2022-11-20T17:25:08.727Z [err] ERR! gyp ERR! find VS \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
2022-11-20T17:25:08.727Z [err] npm ERR! gyp ERR! find VS  
2022-11-20T17:25:08.727Z [err] npm ERR! gyp ERR! configure error  
2022-11-20T17:25:08.727Z [err] npm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use  
2022-11-20T17:25:08.728Z [err] npm ERR! gyp ERR! stack at VisualStudioFinder.fail (C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:122:47)  
2022-11-20T17:25:08.728Z [err] npm  
2022-11-20T17:25:08.728Z [err] ERR! gyp ERR! stack at C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:75:16  
2022-11-20T17:25:08.728Z [err] npm ERR! gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:369:14)  
2022-11-20T17:25:08.728Z [err] npm ERR! gyp ERR! stack at C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:71:14  
2022-11-20T17:25:08.728Z [err] npm ERR! gyp ERR! stack at C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:390:16  
2022-11-20T17:25:08.728Z [err] npm ERR!  
2022-11-20T17:25:08.728Z [err] gyp ERR! stack at C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\npm\node\_modules\node-gyp\lib\util.js:54:7  
2022-11-20T17:25:08.728Z [err] npm ERR! gyp ERR! stack at C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\npm\node\_modules\node-gyp\lib\util.js:33:16  
2022-11-20T17:25:08.728Z [err] npm ERR!  
2022-11-20T17:25:08.728Z [err] gyp ERR! stack at ChildProcess.exithandler (node:child\_process:420:5)  
2022-11-20T17:25:08.728Z [err] npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)  
2022-11-20T17:25:08.728Z [err] npm ERR! gyp ERR! stack at maybeClose (node:internal/child\_process:1091:16)  
2022-11-20T17:25:08.728Z [err] npm ERR! gyp ERR! System Windows\_NT 10.0.14393  
2022-11-20T17:25:08.728Z [err] npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Node-Red\AppData\Roaming\npm\node\_modules\npm\node\_modules\node-gyp\bin\node-gyp.js" "rebuild"  
2022-11-20T17:25:08.728Z [err] npm ERR!  
2022-11-20T17:25:08.728Z [err] gyp ERR! cwd c:\Users\Node-Red.node-red\node\_modules@serialport\bindings  
2022-11-20T17:25:08.728Z [err] npm ERR! gyp ERR! node -v v18.12.1  
2022-11-20T17:25:08.728Z [err] npm ERR!  
2022-11-20T17:25:08.728Z [err] gyp ERR! node-gyp -v v9.3.0  
2022-11-20T17:25:08.728Z [err] npm ERR! gyp ERR! not ok  
2022-11-20T17:25:08.731Z [err]  
2022-11-20T17:25:08.731Z [err] npm  
2022-11-20T17:25:08.732Z [err] ERR! A complete log of this run can be found in:  
2022-11-20T17:25:08.732Z [err] npm ERR! C:\Users\Node-Red\AppData\Local\npm-cache\_logs\2022-11-20T17\_24\_55\_544Z-debug-0.log  
2022-11-20T17:25:08.754Z rc=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: [20 November 2022 17:30 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/12 "2022-11-20T17:30:24Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/4/54b99c176b26ddc35aea382daa3e421a48f85b87.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: [20 November 2022 17:46 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/13 "2022-11-20T17:46:29Z")

</div>

> [@Eskolin](#):
>
> and I as you wrote, I installed the last node.js..... but still same problem

It is not the same problem, you are now getting a different problem. I don't use windows so don't know the solution to that one. Probably someone else can help.

---

<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: [20 November 2022 17:54 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/14 "2022-11-20T17:54:54Z")

</div>

but why can I install several other node's whit no problems...but this one is making troubel ???

---

<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: [20 November 2022 18:43 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/15 "2022-11-20T18:43:10Z")

</div>

I imagine it is those that need to compiled that need VS Studio.

---

<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: [20 November 2022 18:55 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/16 "2022-11-20T18:55:54Z")

</div>

Hi Colin

I hope that I can get some help with this problem.. I have no idea to fix it 🤔

But of you have time for it, try and see if you can install the node whit out problems....

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: [20 November 2022 20:04 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/17 "2022-11-20T20:04:30Z")

</div>

I don't use Windows.

---

<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: [20 November 2022 20:06 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/18 "2022-11-20T20:06:55Z")

</div>

Ok if you don't use windows.... But maybe you got the Same error with your setup...

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: [20 November 2022 20:23 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/19 "2022-11-20T20:23:20Z")

</div>

Visual studio is a Windows package, so that error is not going to appear on Linux.

---

<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: [21 November 2022 15:38 UTC](https://discourse.nodered.org/t/arduino-node-will-not-install/70877/20 "2022-11-21T15:38:51Z")

</div>

HI Colin

I will try to install Ubunto on this Pc and then I hope the error disappear 😉 othere wise I will be back

Ben

[Next page](https://discourse.nodered.org/t/arduino-node-will-not-install/70877.md?page=2)
