Arduino node will not install?

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

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

You need to install build tools

https://nodered.org/docs/getting-started/windows

1 Like

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 for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see 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 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 for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see 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 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>

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

Ben

You may be better off going to the node.js website and downloading the latest LTS version and installing it. There will be an option to check that will install build-tools.

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 :wink:

Ben

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

HI Colin

yes I marked the field whit the option

image

HI Colin

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

Ben

What error are you now getting?

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
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

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.

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

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

Hi Colin

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

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

Ben

I don't use Windows.

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

Ben

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

HI Colin

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

Ben