Unable to install ncd-red-wireless

the node_module folder has been deleted not there anymore.

<C:\Users\USER>node_module
'node_module' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\USER>npm i

up to date, audited 245 packages in 3s

18 packages are looking for funding
run npm fund for details

4 moderate severity vulnerabilities

To address all issues (including breaking changes), run:
npm audit fix --force

Run npm audit for details.

C:\Users\USER>node_module
'node_module' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\USER>

Oh, you have not installed any nodes, that is why npm i does nothing.

Now try to install ncd-red-wireless again. Still from within the .node-red folder
npm i ncd-red-wireless

what i got when i run the command

okay doing that now

Failed to install: ncd-red-wireless

Install failed

Check the log for more information

here is what i get when i tried to install the module

<C:\Users\USER>
C:\Users\USER>npm i ncd-red-wireless
npm ERR! code 1
npm ERR! path C:\Users\USER\node_modules@serialport\bindings
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.3.1
npm ERR! gyp info using node@19.8.1 | win32 | x64
npm ERR! gyp info find Python using Python version 3.11.2 found at "C:\Python311\python.exe"
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS msvs_version not set from command line or npm config
npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
npm ERR! gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
npm ERR! gyp ERR! find VS not looking for VS2015 as it is only supported up to Node.js 18
npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio
npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.
npm ERR! gyp ERR! find VS For more information consult the documentation at:
npm ERR! gyp ERR! find VS GitHub - nodejs/node-gyp: Node.js native addon build tool
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use
npm ERR! gyp ERR! stack at VisualStudioFinder.fail (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:122:47)
npm ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:75:16
npm ERR! gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:369:14)
npm ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:71:14
npm ERR! gyp ERR! stack at VisualStudioFinder.findVisualStudio2015 (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:353:14)
npm ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:67:12
npm ERR! gyp ERR! stack at VisualStudioFinder.parseData (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:237:5)
npm ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:143:14
npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:411:7)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:512:28)
npm ERR! gyp ERR! System Windows_NT 10.0.19044
npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\Users\USER\node_modules@serialport\bindings
npm ERR! gyp ERR! node -v v19.8.1
npm ERR! gyp ERR! node-gyp -v v9.3.1
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in: C:\Users\USER\AppData\Local\npm-cache_logs\2023-04-13T08_23_55_529Z-debug-0.log

C:\Users\USER>

We are going round in circles again, you have installed nodejs version 19 instead of 18.

Omg but I did confirm itā€™s v18 let me look it up again.. thanks for your patience

<C:\Users\USER> npm i ncd-red-wireless
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'version@0.0.1',
npm WARN EBADENGINE required: { node: '>= 0.4.11 < 0.7.0' },
npm WARN EBADENGINE current: { node: 'v18.15.0', npm: '9.6.4' }
npm WARN EBADENGINE }
npm ERR! code 1
npm ERR! path C:\Users\USER\node_modules@serialport\bindings
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.3.1
npm ERR! gyp info using node@18.15.0 | win32 | x64
npm ERR! gyp info find Python using Python version 3.11.2 found at "C:\Python311\python.exe"
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS msvs_version not set from command line or npm config
npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
npm ERR! gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
npm ERR! gyp ERR! find VS looking for Visual Studio 2015
npm ERR! gyp ERR! find VS - not found
npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio
npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.
npm ERR! gyp ERR! find VS For more information consult the documentation at:
npm ERR! gyp ERR! find VS GitHub - nodejs/node-gyp: Node.js native addon build tool
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use
npm ERR! gyp ERR! stack at VisualStudioFinder.fail (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:122:47)
npm ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:75:16
npm ERR! gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:369:14)
npm ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:71:14
npm ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:390:16
npm ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:54:7
npm ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:33:16
npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:427:5)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at maybeClose (node:internal/child_process:1091:16)
npm ERR! gyp ERR! System Windows_NT 10.0.19044
npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\Users\USER\node_modules@serialport\bindings
npm ERR! gyp ERR! node -v v18.15.0
npm ERR! gyp ERR! node-gyp -v v9.3.1
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in: C:\Users\USER\AppData\Local\npm-cache_logs\2023-04-13T09_03_51_060Z-debug-0.log

C:\Users\USER>

here we go, after following all due process as ionstructed

this is what i got when i run from the command prompt.

<-----------------------------------------------------------

2023-04-13T09:14:16.659Z Install : ncd-red-wireless 1.6.16

2023-04-13T09:14:16.712Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict ncd-red-wireless@1.6.16

2023-04-13T09:14:19.261Z [err] npm

2023-04-13T09:14:19.261Z [err] WARN config production Use --omit=dev instead.

2023-04-13T09:14:26.638Z [err] npm

2023-04-13T09:14:26.638Z [err] ERR! code

2023-04-13T09:14:26.639Z [err] 1

2023-04-13T09:14:26.639Z [err] npm

2023-04-13T09:14:26.639Z [err] ERR! path C:\Users\USER.node-red\node_modules@serialport\bindings

2023-04-13T09:14:26.641Z [err] npm

2023-04-13T09:14:26.642Z [err] ERR! command failed

2023-04-13T09:14:26.642Z [err] npm

2023-04-13T09:14:26.642Z [err] ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

2023-04-13T09:14:26.642Z [err] npm ERR! gyp info it worked if it ends with ok

2023-04-13T09:14:26.642Z [err] npm

2023-04-13T09:14:26.642Z [err] ERR! gyp info using node-gyp@9.3.1

2023-04-13T09:14:26.642Z [err] npm ERR! gyp info using node@18.15.0 | win32 | x64

2023-04-13T09:14:26.642Z [err] npm ERR! gyp info find Python using Python version 3.11.2 found at "C:\Python311\python.exe"

2023-04-13T09:14:26.642Z [err] npm ERR! gyp ERR! find VS

2023-04-13T09:14:26.642Z [err] npm

2023-04-13T09:14:26.642Z [err] ERR! gyp ERR! find VS msvs_version not set from command line or npm config

2023-04-13T09:14:26.642Z [err] npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt

2023-04-13T09:14:26.642Z [err] npm ERR! gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use

2023-04-13T09:14:26.642Z [err] npm ERR!

2023-04-13T09:14:26.643Z [err] gyp ERR! find VS looking for Visual Studio 2015

2023-04-13T09:14:26.643Z [err] npm ERR! gyp ERR! find VS - not found

2023-04-13T09:14:26.643Z [err] npm

2023-04-13T09:14:26.643Z [err] ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8

2023-04-13T09:14:26.643Z [err] npm ERR! gyp ERR! find VS

2023-04-13T09:14:26.643Z [err] npm ERR! gyp ERR! find VS **************************************************************

2023-04-13T09:14:26.643Z [err] npm ERR!

2023-04-13T09:14:26.643Z [err] gyp ERR! find VS You need to install the latest version of Visual Studio

2023-04-13T09:14:26.643Z [err] npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.

2023-04-13T09:14:26.643Z [err] npm

2023-04-13T09:14:26.643Z [err] ERR! gyp ERR! find VS For more information consult the documentation at:

2023-04-13T09:14:26.643Z [err] npm ERR! gyp ERR! find VS GitHub - nodejs/node-gyp: Node.js native addon build tool

2023-04-13T09:14:26.643Z [err] npm ERR! gyp ERR! find VS **************************************************************

2023-04-13T09:14:26.643Z [err] npm ERR! gyp ERR! find VS

2023-04-13T09:14:26.643Z [err] npm ERR! gyp ERR! configure error

2023-04-13T09:14:26.643Z [err] npm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use

2023-04-13T09:14:26.643Z [err] npm ERR! gyp ERR! stack at VisualStudioFinder.fail (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:122:47)

2023-04-13T09:14:26.643Z [err] npm

2023-04-13T09:14:26.643Z [err] ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:75:16

2023-04-13T09:14:26.643Z [err] npm ERR! gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:369:14)

2023-04-13T09:14:26.643Z [err] npm ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:71:14

2023-04-13T09:14:26.643Z [err] npm

2023-04-13T09:14:26.643Z [err] ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:390:16

2023-04-13T09:14:26.643Z [err] npm ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:54:7

2023-04-13T09:14:26.643Z [err] npm

2023-04-13T09:14:26.644Z [err] ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:33:16

2023-04-13T09:14:26.644Z [err] npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:427:5)

2023-04-13T09:14:26.644Z [err] npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)

2023-04-13T09:14:26.644Z [err] npm ERR!

2023-04-13T09:14:26.644Z [err] gyp ERR! stack at maybeClose (node:internal/child_process:1091:16)

2023-04-13T09:14:26.644Z [err] npm ERR! gyp ERR! System Windows_NT 10.0.19044

2023-04-13T09:14:26.644Z [err] npm

2023-04-13T09:14:26.644Z [err] ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"

2023-04-13T09:14:26.644Z [err] npm ERR!

2023-04-13T09:14:26.644Z [err] gyp ERR! cwd C:\Users\USER.node-red\node_modules@serialport\bindings

2023-04-13T09:14:26.644Z [err] npm ERR! gyp ERR! node -v v18.15.0

2023-04-13T09:14:26.644Z [err] npm ERR! gyp ERR! node-gyp -v v9.3.1

2023-04-13T09:14:26.644Z [err] npm ERR!

2023-04-13T09:14:26.644Z [err] gyp ERR! not ok

2023-04-13T09:14:26.646Z [err]

2023-04-13T09:14:26.646Z [err] npm ERR!

2023-04-13T09:14:26.646Z [err] A complete log of this run can be found in: C:\Users\USER\AppData\Local\npm-cache_logs\2023-04-13T09_14_19_211Z-debug-0.log

2023-04-13T09:14:26.681Z rc=1


2023-04-13T09:20:42.653Z Install : ncd-red-mcp23008 1.5.5

2023-04-13T09:20:42.674Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict ncd-red-mcp23008@1.5.5

2023-04-13T09:20:45.391Z [err] npm

2023-04-13T09:20:45.392Z [err] WARN

2023-04-13T09:20:45.392Z [err] config production Use --omit=dev instead.


2023-04-13T09:20:53.170Z Install : ncd-red-wireless 1.6.16

2023-04-13T09:21:07.994Z [err] npm

2023-04-13T09:21:07.994Z [err]

2023-04-13T09:21:07.994Z [err] ERR!

2023-04-13T09:21:07.995Z [err]

2023-04-13T09:21:07.995Z [err] code

2023-04-13T09:21:07.995Z [err] 1

2023-04-13T09:21:07.996Z [err] npm

2023-04-13T09:21:07.996Z [err]

2023-04-13T09:21:07.996Z [err] ERR!

2023-04-13T09:21:07.997Z [err]

2023-04-13T09:21:07.997Z [err] path C:\Users\USER.node-red\node_modules@serialport\bindings

2023-04-13T09:21:08.001Z [err] npm ERR!

2023-04-13T09:21:08.001Z [err] command failed

2023-04-13T09:21:08.001Z [err] npm ERR! command

2023-04-13T09:21:08.001Z [err] C:\WINDOWS\system32\cmd.exe /d /s /c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

2023-04-13T09:21:08.002Z [err] npm ERR! prebuild-install warn install No prebuilt binaries found (target=18.15.0 runtime=node arch=x64 libc= platform=win32)

2023-04-13T09:21:08.002Z [err] npm ERR! gyp info it worked if it ends with ok

2023-04-13T09:21:08.002Z [err] npm ERR!

2023-04-13T09:21:08.002Z [err] gyp info using node-gyp@9.3.1

2023-04-13T09:21:08.002Z [err] npm ERR! gyp info using node@18.15.0 | win32 | x64

2023-04-13T09:21:08.002Z [err] npm ERR! gyp info find Python using Python version 3.11.2 found at "C:\Python311\python.exe"

2023-04-13T09:21:08.002Z [err] npm ERR! gyp ERR! find VS

2023-04-13T09:21:08.002Z [err] npm ERR!

2023-04-13T09:21:08.002Z [err] gyp ERR! find VS msvs_version not set from command line or npm config

2023-04-13T09:21:08.002Z [err] npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt

2023-04-13T09:21:08.002Z [err] npm

2023-04-13T09:21:08.002Z [err] ERR! gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use

2023-04-13T09:21:08.002Z [err] npm ERR! gyp ERR! find VS looking for Visual Studio 2015

2023-04-13T09:21:08.002Z [err] npm ERR! gyp ERR! find VS - not found

2023-04-13T09:21:08.002Z [err] npm ERR!

2023-04-13T09:21:08.002Z [err] gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8

2023-04-13T09:21:08.002Z [err] npm ERR! gyp ERR! find VS

2023-04-13T09:21:08.002Z [err] npm ERR! gyp ERR! find VS **************************************************************

2023-04-13T09:21:08.002Z [err] npm

2023-04-13T09:21:08.002Z [err] ERR! gyp ERR! find VS You need to install the latest version of Visual Studio

2023-04-13T09:21:08.002Z [err] npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.

2023-04-13T09:21:08.003Z [err] npm ERR! gyp ERR! find VS For more information consult the documentation at:

2023-04-13T09:21:08.003Z [err] npm ERR!

2023-04-13T09:21:08.003Z [err] gyp ERR! find VS GitHub - nodejs/node-gyp: Node.js native addon build tool

2023-04-13T09:21:08.003Z [err] npm ERR! gyp ERR! find VS **************************************************************

2023-04-13T09:21:08.003Z [err] npm ERR! gyp ERR! find VS

2023-04-13T09:21:08.003Z [err] npm

2023-04-13T09:21:08.003Z [err] ERR! gyp ERR! configure error

2023-04-13T09:21:08.003Z [err] npm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use

2023-04-13T09:21:08.003Z [err] npm ERR! gyp ERR! stack at VisualStudioFinder.fail (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:122:47)

2023-04-13T09:21:08.003Z [err] npm

2023-04-13T09:21:08.003Z [err] ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:75:16

2023-04-13T09:21:08.003Z [err] npm ERR!

2023-04-13T09:21:08.003Z [err] gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:369:14)

2023-04-13T09:21:08.003Z [err] npm ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:71:14

2023-04-13T09:21:08.003Z [err] npm

2023-04-13T09:21:08.003Z [err] ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:390:16

2023-04-13T09:21:08.003Z [err] npm ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:54:7

2023-04-13T09:21:08.003Z [err] npm ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:33:16

2023-04-13T09:21:08.003Z [err] npm

2023-04-13T09:21:08.003Z [err] ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:427:5)

2023-04-13T09:21:08.003Z [err] npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)

2023-04-13T09:21:08.003Z [err] npm ERR! gyp ERR! stack at maybeClose (node:internal/child_process:1091:16)

2023-04-13T09:21:08.003Z [err] npm ERR!

2023-04-13T09:21:08.003Z [err] gyp ERR! System Windows_NT 10.0.19044

2023-04-13T09:21:08.003Z [err] npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"

2023-04-13T09:21:08.004Z [err] npm ERR! gyp ERR! cwd C:\Users\USER.node-red\node_modules@serialport\bindings

2023-04-13T09:21:08.004Z [err] npm ERR!

2023-04-13T09:21:08.004Z [err] gyp ERR! node -v v18.15.0

2023-04-13T09:21:08.004Z [err] npm ERR! gyp ERR! node-gyp -v v9.3.1

2023-04-13T09:21:08.004Z [err] npm ERR! gyp ERR! not ok

2023-04-13T09:21:08.007Z [err]

2023-04-13T09:21:08.007Z [err] npm ERR! A complete log of this run can be found in: C:\Users\USER\AppData\Local\npm-cache_logs\2023-04-13T09_20_45_318Z-debug-0.log

2023-04-13T09:21:08.041Z rc=1>

and this is what i got from the node-red page when i tried to run the ncd-wireless

Once again, you are doing it from the wrong directory. All these things must be run from inside the .node-red directory. Though I do not think that will make a difference to the error.

okay, please how best do you think this can be done, i do not get the statement "inside node-red"

i thought you mean command prompt (cmd) or node.js command prompt

how best do you think this can be done. sincerely you have tried for me. once im able to do that i will be able to carry out my work, or please do you know any alternative plugging that can work as ncd wireless. i can try to install that, i was able to install dashboard and some other few plettes, but the wireless ncd wont just installed.

That is not what I said. I said "inside the .node-red directory". You did not understand that previously and it was explained that it means to run the command
cd .node-red
which means Change Directory to .node-red (which is C:/Users/USER/.node-red)
Then
npm install ncd-red-wireless

i just did that, I'm sending the error log

<C:\Users\USER.node-red>npm install ncd-red-wireless
npm ERR! code 1
npm ERR! path C:\Users\USER.node-red\node_modules@serialport\bindings
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.3.1
npm ERR! gyp info using node@18.15.0 | win32 | x64
npm ERR! gyp info find Python using Python version 3.11.2 found at "C:\Python311\python.exe"
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS msvs_version not set from command line or npm config
npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
npm ERR! gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
npm ERR! gyp ERR! find VS looking for Visual Studio 2015
npm ERR! gyp ERR! find VS - not found
npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio
npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.
npm ERR! gyp ERR! find VS For more information consult the documentation at:
npm ERR! gyp ERR! find VS GitHub - nodejs/node-gyp: Node.js native addon build tool
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use
npm ERR! gyp ERR! stack at VisualStudioFinder.fail (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:122:47)
npm ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:75:16
npm ERR! gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:369:14)
npm ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:71:14
npm ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:390:16
npm ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:54:7
npm ERR! gyp ERR! stack at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:33:16
npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:427:5)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at maybeClose (node:internal/child_process:1091:16)
npm ERR! gyp ERR! System Windows_NT 10.0.19044
npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\Users\USER.node-red\node_modules@serialport\bindings
npm ERR! gyp ERR! node -v v18.15.0
npm ERR! gyp ERR! node-gyp -v v9.3.1
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in: C:\Users\USER\AppData\Local\npm-cache_logs\2023-04-13T15_31_35_177Z-debug-0.log

C:\Users\USER.node-red>