# Visual built tools required for modbus nodes

**URL:** https://discourse.nodered.org/t/visual-built-tools-required-for-modbus-nodes/37035
**Category:** Industrial
**Created:** [5 December 2020 06:20 UTC](https://discourse.nodered.org/t/visual-built-tools-required-for-modbus-nodes/37035 "2020-12-05T06:20:23Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![NodeC](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@NodeC](https://discourse.nodered.org/u/NodeC)
#### Post date: [5 December 2020 06:20 UTC](https://discourse.nodered.org/t/visual-built-tools-required-for-modbus-nodes/37035/1 "2020-12-05T06:20:23Z")

</div>

Anyone could help?

2020-11-30T03:42:10.131Z Install : node-red-contrib-modbus 5.13.3

2020-11-30T03:42:10.144Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-modbus@5.13.3

2020-11-30T03:42:41.963Z [out]

2020-11-30T03:42:41.963Z [out] \> @serialport/bindings@9.0.2 install C:\Users\my0fma.node-red\node\_modules@serialport\bindings

2020-11-30T03:42:41.963Z [out] \> prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

2020-11-30T03:42:41.963Z [out]

2020-11-30T03:42:46.243Z [err] prebuild-install

2020-11-30T03:42:46.244Z [err] WARN install No prebuilt binaries found (target=14.15.1 runtime=node arch=x64 libc= platform=win32)

2020-11-30T03:42:46.345Z [out]

2020-11-30T03:42:46.345Z [out] C:\Users\my0fma.node-red\node\_modules@serialport\bindings\>if not defined npm\_config\_node\_gyp

2020-11-30T03:42:46.346Z [out] (node "C:\Program Files\nodejs\node\_modules\npm\node\_modules\npm-lifecycle\node-gyp-bin\....\node\_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\bin\node-gyp.js" rebuild )

2020-11-30T03:42:56.378Z [err] gyp

2020-11-30T03:42:56.378Z [err] ERR!

2020-11-30T03:42:56.378Z [err] find VS

2020-11-30T03:42:56.378Z [err] gyp

2020-11-30T03:42:56.378Z [err] ERR!

2020-11-30T03:42:56.378Z [err] find VS msvs\_version not set from command line or npm config

2020-11-30T03:42:56.378Z [err] gyp ERR! find VS

2020-11-30T03:42:56.378Z [err] VCINSTALLDIR not set, not running in VS Command Prompt

2020-11-30T03:42:56.378Z [err] gyp ERR!

2020-11-30T03:42:56.378Z [err] find VS could not use PowerShell to find Visual Studio 2017 or newer

2020-11-30T03:42:56.378Z [err] gyp

2020-11-30T03:42:56.378Z [err] ERR! find VS looking for Visual Studio 2015

2020-11-30T03:42:56.379Z [err] gyp ERR! find VS

2020-11-30T03:42:56.379Z [err] - not found

2020-11-30T03:42:56.379Z [err] gyp ERR!

2020-11-30T03:42:56.379Z [err] find VS not looking for VS2013 as it is only supported up to Node.js 8

2020-11-30T03:42:56.379Z [err] gyp

2020-11-30T03:42:56.379Z [err] ERR! find VS

2020-11-30T03:42:56.379Z [err] gyp ERR! find VS \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

2020-11-30T03:42:56.379Z [err] gyp ERR! find VS

2020-11-30T03:42:56.379Z [err] You need to install the latest version of Visual Studio

2020-11-30T03:42:56.379Z [err] gyp ERR! find VS including the "Desktop development with C++" workload.

2020-11-30T03:42:56.379Z [err] gyp

2020-11-30T03:42:56.379Z [err] ERR! find VS For more information consult the documentation at:

2020-11-30T03:42:56.379Z [err] gyp

2020-11-30T03:42:56.379Z [err] ERR! find VS [https://github.com/nodejs/node-gyp#on-windows](https://l.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode-gyp%3Ffbclid%3DIwAR2DAtIgNpYHyY2SxvTcxTzT0yTpvss7exlZW1lIms8Nx0p3nGxIp53h7Lg%23on-windows&h=AT0ZrnHE2R-YhzGA18KQRQknmAQzMZnfCR_9FQd4imMBaJV_lwl-GLzm-Y4th72L1vLMDdOtamcUSfwBeLPPQNkvsV8_DPXKEkzeBuG-857SwCtuxRkASLHzlwCRi9qddEcSiEGadBp8q-jNe1E8& __tn__ =-UK-R&c%5B0%5D=AT2C0X8dNQ64Q5r_AXg_by_BtsAdDTy8N21_HMKr8quzMkkN5YrKEMPmCpCd0qTK75kZ1Xdix1IebF8a-bvVvZ2I5WWmMLIq4dg__KBLRg6qdU8Wy20GYE1E1EmPElwThVQ1lz2RTXdRG4BmNF5-YLlVfA)

2020-11-30T03:42:56.379Z [err] gyp

2020-11-30T03:42:56.380Z [err] ERR! find VS \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

2020-11-30T03:42:56.380Z [err] gyp

2020-11-30T03:42:56.380Z [err] ERR! find VS

2020-11-30T03:42:56.381Z [err] gyp

2020-11-30T03:42:56.381Z [err] ERR! configure error

2020-11-30T03:42:56.381Z [err] gyp

2020-11-30T03:42:56.382Z [err] ERR! stack Error: Could not find any Visual Studio installation to use

2020-11-30T03:42:56.382Z [err] gyp ERR!

2020-11-30T03:42:56.382Z [err] stack at VisualStudioFinder.fail (C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:121:47)

2020-11-30T03:42:56.382Z [err] gyp ERR!

2020-11-30T03:42:56.382Z [err] stack at C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:74:16

2020-11-30T03:42:56.382Z [err] gyp ERR!

2020-11-30T03:42:56.382Z [err] stack at VisualStudioFinder.findVisualStudio2013 (C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:351:14)

2020-11-30T03:42:56.382Z [err] gyp ERR! stack at C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:70:14

2020-11-30T03:42:56.382Z [err] gyp ERR! stack at C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:372:16

2020-11-30T03:42:56.382Z [err] gyp ERR!

2020-11-30T03:42:56.382Z [err] stack at C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\util.js:54:7

2020-11-30T03:42:56.382Z [err] gyp ERR! stack at C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\util.js:33:16

2020-11-30T03:42:56.382Z [err] gyp

2020-11-30T03:42:56.382Z [err] ERR! stack at ChildProcess.exithandler (child\_process.js:315:5)

2020-11-30T03:42:56.382Z [err] gyp

2020-11-30T03:42:56.383Z [err] ERR! stack at ChildProcess.emit (events.js:315:20)

2020-11-30T03:42:56.383Z [err] gyp ERR! stack at maybeClose (internal/child\_process.js:1048:16)

2020-11-30T03:42:56.383Z [err] gyp

2020-11-30T03:42:56.383Z [err] ERR! System Windows\_NT 10.0.18363

2020-11-30T03:42:56.383Z [err] gyp ERR!

2020-11-30T03:42:56.383Z [err] command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\bin\node-gyp.js" "rebuild"

2020-11-30T03:42:56.383Z [err] gyp ERR! cwd

2020-11-30T03:42:56.383Z [err] C:\Users\my0fma.node-red\node\_modules@serialport\bindings

2020-11-30T03:42:56.383Z [err] gyp ERR!

2020-11-30T03:42:56.384Z [err] node -v v14.15.1

2020-11-30T03:42:56.384Z [err] gyp

2020-11-30T03:42:56.384Z [err] ERR! node-gyp -v v5.1.0

2020-11-30T03:42:56.384Z [err] gyp ERR!

2020-11-30T03:42:56.384Z [err] not ok

2020-11-30T03:42:56.562Z [out]

2020-11-30T03:42:56.562Z [out] \> @serialport/bindings@8.0.8 install C:\Users\my0fma.node-red\node\_modules\modbus-serial\node\_modules@serialport\bindings

2020-11-30T03:42:56.562Z [out] \> prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

2020-11-30T03:42:56.562Z [out]

2020-11-30T03:42:59.022Z [err] prebuild-install

2020-11-30T03:42:59.022Z [err] WARN install No prebuilt binaries found (target=14.15.1 runtime=node arch=x64 libc= platform=win32)

2020-11-30T03:42:59.122Z [out]

2020-11-30T03:42:59.122Z [out] C:\Users\my0fma.node-red\node\_modules\modbus-serial\node\_modules@serialport\bindings\>if not defined npm\_config\_node\_gyp

2020-11-30T03:42:59.122Z [out] (node "C:\Program Files\nodejs\node\_modules\npm\node\_modules\npm-lifecycle\node-gyp-bin\....\node\_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\bin\node-gyp.js" rebuild )

2020-11-30T03:43:08.601Z [err] gyp

2020-11-30T03:43:08.601Z [err] ERR! find VS

2020-11-30T03:43:08.601Z [err]

2020-11-30T03:43:08.601Z [err] gyp

2020-11-30T03:43:08.602Z [err] ERR! find VS msvs\_version not set from command line or npm config

2020-11-30T03:43:08.602Z [err] gyp

2020-11-30T03:43:08.602Z [err] ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt

2020-11-30T03:43:08.602Z [err] gyp

2020-11-30T03:43:08.603Z [err] ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer

2020-11-30T03:43:08.603Z [err] gyp

2020-11-30T03:43:08.603Z [err] ERR! find VS looking for Visual Studio 2015

2020-11-30T03:43:08.603Z [err] gyp ERR! find VS - not found

2020-11-30T03:43:08.603Z [err] gyp ERR! find VS

2020-11-30T03:43:08.603Z [err] not looking for VS2013 as it is only supported up to Node.js 8

2020-11-30T03:43:08.603Z [err] gyp

2020-11-30T03:43:08.603Z [err] ERR! find VS

2020-11-30T03:43:08.603Z [err]

2020-11-30T03:43:08.603Z [err] gyp

2020-11-30T03:43:08.603Z [err] ERR!

2020-11-30T03:43:08.603Z [err] find VS \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

2020-11-30T03:43:08.603Z [err] gyp

2020-11-30T03:43:08.603Z [err] ERR! find VS

2020-11-30T03:43:08.603Z [err] You need to install the latest version of Visual Studio

2020-11-30T03:43:08.603Z [err] gyp

2020-11-30T03:43:08.603Z [err] ERR! find VS including the "Desktop development with C++" workload.

2020-11-30T03:43:08.603Z [err] gyp ERR!

2020-11-30T03:43:08.603Z [err] find VS For more information consult the documentation at:

2020-11-30T03:43:08.603Z [err] gyp

2020-11-30T03:43:08.603Z [err] ERR!

2020-11-30T03:43:08.604Z [err] find VS [https://github.com/nodejs/node-gyp#on-windows](https://l.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode-gyp%3Ffbclid%3DIwAR1lAWsE02PUy2r1a-ECTbAZoh9J5cue1M5wJEEuatEsnaK4FT09XGtUYkc%23on-windows&h=AT0ZrnHE2R-YhzGA18KQRQknmAQzMZnfCR_9FQd4imMBaJV_lwl-GLzm-Y4th72L1vLMDdOtamcUSfwBeLPPQNkvsV8_DPXKEkzeBuG-857SwCtuxRkASLHzlwCRi9qddEcSiEGadBp8q-jNe1E8& __tn__ =-UK-R&c%5B0%5D=AT2C0X8dNQ64Q5r_AXg_by_BtsAdDTy8N21_HMKr8quzMkkN5YrKEMPmCpCd0qTK75kZ1Xdix1IebF8a-bvVvZ2I5WWmMLIq4dg__KBLRg6qdU8Wy20GYE1E1EmPElwThVQ1lz2RTXdRG4BmNF5-YLlVfA)

2020-11-30T03:43:08.604Z [err] gyp

2020-11-30T03:43:08.604Z [err] ERR!

2020-11-30T03:43:08.604Z [err] find VS \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

2020-11-30T03:43:08.604Z [err] gyp

2020-11-30T03:43:08.604Z [err] ERR!

2020-11-30T03:43:08.604Z [err] find VS

2020-11-30T03:43:08.605Z [err] gyp

2020-11-30T03:43:08.605Z [err] ERR! configure error

2020-11-30T03:43:08.605Z [err] gyp

2020-11-30T03:43:08.605Z [err] ERR! stack Error: Could not find any Visual Studio installation to use

2020-11-30T03:43:08.605Z [err] gyp ERR!

2020-11-30T03:43:08.605Z [err] stack

2020-11-30T03:43:08.605Z [err] at VisualStudioFinder.fail (C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:121:47)

2020-11-30T03:43:08.605Z [err] gyp

2020-11-30T03:43:08.605Z [err] ERR! stack at C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:74:16

2020-11-30T03:43:08.606Z [err] gyp ERR!

2020-11-30T03:43:08.606Z [err] stack at VisualStudioFinder.findVisualStudio2013 (C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:351:14)

2020-11-30T03:43:08.606Z [err] gyp

2020-11-30T03:43:08.606Z [err] ERR! stack

2020-11-30T03:43:08.606Z [err] at C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:70:14

2020-11-30T03:43:08.606Z [err] gyp

2020-11-30T03:43:08.606Z [err] ERR! stack at C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:372:16

2020-11-30T03:43:08.606Z [err] gyp ERR!

2020-11-30T03:43:08.606Z [err] stack at C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\util.js:54:7

2020-11-30T03:43:08.606Z [err] gyp ERR! stack at C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\util.js:33:16

2020-11-30T03:43:08.606Z [err] gyp ERR!

2020-11-30T03:43:08.606Z [err] stack at ChildProcess.exithandler (child\_process.js:315:5)

2020-11-30T03:43:08.606Z [err] gyp ERR! stack at ChildProcess.emit (events.js:315:20)

2020-11-30T03:43:08.606Z [err] gyp ERR!

2020-11-30T03:43:08.606Z [err] stack at maybeClose (internal/child\_process.js:1048:16)

2020-11-30T03:43:08.607Z [err] gyp

2020-11-30T03:43:08.607Z [err] ERR! System Windows\_NT 10.0.18363

2020-11-30T03:43:08.607Z [err] gyp

2020-11-30T03:43:08.607Z [err] ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\bin\node-gyp.js" "rebuild"

2020-11-30T03:43:08.607Z [err] gyp

2020-11-30T03:43:08.607Z [err] ERR! cwd C:\Users\my0fma.node-red\node\_modules\modbus-serial\node\_modules@serialport\bindings

2020-11-30T03:43:08.607Z [err] gyp ERR!

2020-11-30T03:43:08.607Z [err] node -v v14.15.1

2020-11-30T03:43:08.607Z [err] gyp ERR! node-gyp -v

2020-11-30T03:43:08.608Z [err] v5.1.0

2020-11-30T03:43:08.608Z [err] gyp ERR! not ok

2020-11-30T03:43:11.238Z [err] npm

2020-11-30T03:43:11.238Z [err] WARN optional SKIPPING OPTIONAL DEPENDENCY: @serialport/bindings@9.0.2 (node\_modules@serialport\bindings):

2020-11-30T03:43:11.238Z [err] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @serialport/bindings@9.0.2 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`

2020-11-30T03:43:11.238Z [err] npm WARN

2020-11-30T03:43:11.238Z [err] optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

2020-11-30T03:43:11.239Z [err]

2020-11-30T03:43:11.291Z [err] npm ERR!

2020-11-30T03:43:11.291Z [err] code ELIFECYCLE

2020-11-30T03:43:11.291Z [err] npm ERR! errno 1

2020-11-30T03:43:11.300Z [err] npm

2020-11-30T03:43:11.300Z [err] ERR! @serialport/bindings@8.0.8 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`

2020-11-30T03:43:11.300Z [err] npm ERR! Exit status 1

2020-11-30T03:43:11.300Z [err] npm ERR!

2020-11-30T03:43:11.301Z [err] npm ERR! Failed at the @serialport/bindings@8.0.8 install script.

2020-11-30T03:43:11.301Z [err] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

2020-11-30T03:43:11.338Z [err]

2020-11-30T03:43:11.338Z [err] npm ERR! A complete log of this run can be found in:

2020-11-30T03:43:11.338Z [err] npm ERR! C:\Users\my0fma\AppData\Roaming\npm-cache\_logs\2020-11-30T03\_43\_11\_310Z-debug.log

2020-11-30T03:43:11.495Z rc=1

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [5 December 2020 07:54 UTC](https://discourse.nodered.org/t/visual-built-tools-required-for-modbus-nodes/37035/2 "2020-12-05T07:54:24Z")

</div>

> [@NodeC](#):
>
> * * *
> 
> 2020-11-30T03:43:08.603Z [err] gyp
> 
> 2020-11-30T03:43:08.603Z [err] ERR! find VS
> 
> 2020-11-30T03:43:08.603Z [err] You need to install the latest version of Visual Studio
> 
> 2020-11-30T03:43:08.603Z [err] gyp
> 
> 2020-11-30T03:43:08.603Z [err] ERR! find VS including the "Desktop development with C++" workload.
> 
> 2020-11-30T03:43:08.603Z [err] gyp ERR!
> 
> 2020-11-30T03:43:08.603Z [err] find VS For more information consult the documentation at:
> 
> 2020-11-30T03:43:08.603Z [err] gyp
> 
> 2020-11-30T03:43:08.603Z [err] ERR!
> 
> 2020-11-30T03:43:08.604Z [err] find VS [https://github.com/nodejs/node-gyp#on-windows](https://l.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode-gyp%3Ffbclid%3DIwAR1lAWsE02PUy2r1a-ECTbAZoh9J5cue1M5wJEEuatEsnaK4FT09XGtUYkc%23on-windows&h=AT0ZrnHE2R-YhzGA18KQRQknmAQzMZnfCR_9FQd4imMBaJV_lwl-GLzm-Y4th72L1vLMDdOtamcUSfwBeLPPQNkvsV8_DPXKEkzeBuG-857SwCtuxRkASLHzlwCRi9qddEcSiEGadBp8q-jNe1E8& __tn__ =-UK-R&c%5B0%5D=AT2C0X8dNQ64Q5r_AXg_by_BtsAdDTy8N21_HMKr8quzMkkN5YrKEMPmCpCd0qTK75kZ1Xdix1IebF8a-bvVvZ2I5WWmMLIq4dg__KBLRg6qdU8Wy20GYE1E1EmPElwThVQ1lz2RTXdRG4BmNF5-YLlVfA)
> 
> 2020-11-30T03:43:08.604Z [err] gyp

I think this part of the log output tells you exactly what is wrong and what you need to do

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [5 December 2020 11:28 UTC](https://discourse.nodered.org/t/visual-built-tools-required-for-modbus-nodes/37035/3 "2020-12-05T11:28:10Z")

</div>

Do please read the Node-RED install instructions for Windows which I think include the instruction to install [windows-build-tools](https://www.npmjs.com/package/windows-build-tools) globally which should be enough.

---

<div class="post-metadata">

### Author: ![NodeC](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@NodeC](https://discourse.nodered.org/u/NodeC)
#### Post date: [6 December 2020 09:37 UTC](https://discourse.nodered.org/t/visual-built-tools-required-for-modbus-nodes/37035/4 "2020-12-06T09:37:15Z")

</div>

Update visual built tools via Node.js additional tools update solved the problem.

---

<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: [3 February 2021 06:20 UTC](https://discourse.nodered.org/t/visual-built-tools-required-for-modbus-nodes/37035/5 "2021-02-03T06:20:25Z")

</div>

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