Hello. I am very new to node-red and have a trouble finding the serial node (serial in, serial out, and serial request). I had searched them in the drawer in the left hand side but still couldn't find them. I tried to install node-red-node-serialport module to fix the problem but i got error. Here are the logs:
-----------------------------------------------------------
2021-11-08T17:09:26.887Z Install : node-red-node-serialport 0.14.1
2021-11-08T17:09:27.174Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-node-serialport@0.14.1
2021-11-08T17:10:34.446Z [out]
2021-11-08T17:10:34.446Z [out] > @serialport/bindings@9.2.5 install C:\Users\DELL\.node-red\node_modules\@serialport\bindings
2021-11-08T17:10:34.446Z [out] > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
2021-11-08T17:10:34.446Z [out]
2021-11-08T17:10:36.978Z [err] prebuild-install
2021-11-08T17:10:36.978Z [err] WARN install No prebuilt binaries found (target=14.17.5 runtime=node arch=x64 libc= platform=win32)
2021-11-08T17:10:37.032Z [out]
2021-11-08T17:10:37.032Z [out] C:\Users\DELL\.node-red\node_modules\@serialport\bindings>if not defined npm_config_node_gyp (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 )
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python Python is not set from command line or npm configuration
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python Python is not set from environment variable PYTHON
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python checking if "python" can be used
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python - "python" is not in PATH or produced an error
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python checking if "python2" can be used
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python - "python2" is not in PATH or produced an error
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python checking if "python3" can be used
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python - "python3" is not in PATH or produced an error
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python checking if the py launcher can be used to find Python 2
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python - "py.exe" is not in PATH or produced an error
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python checking if Python is C:\Python27\python.exe
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python - "C:\Python27\python.exe" could not be run
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python checking if Python is C:\Python37\python.exe
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python - "C:\Python37\python.exe" could not be run
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python **********************************************************
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python You need to install the latest version of Python.
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python you can try one of the following options:
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python (accepted by both node-gyp and npm)
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python - Set the environment variable PYTHON
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python - Set the npm configuration variable python:
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python npm config set python "C:\Path\To\python.exe"
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python For more information consult the documentation at:
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python **********************************************************
2021-11-08T17:10:46.623Z [err] gyp ERR! find Python
2021-11-08T17:10:46.623Z [err] gyp ERR! configure error
2021-11-08T17:10:46.623Z [err] gyp ERR! stack Error: Could not find any Python installation to use
2021-11-08T17:10:46.623Z [err] gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47)
2021-11-08T17:10:46.623Z [err] gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21)
2021-11-08T17:10:46.623Z [err] gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:225:16)
2021-11-08T17:10:46.623Z [err] gyp ERR! stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:271:16)
2021-11-08T17:10:46.623Z [err] gyp ERR! stack at exithandler (child_process.js:397:5)
2021-11-08T17:10:46.623Z [err] gyp ERR! stack at ChildProcess.errorhandler (child_process.js:409:5)
2021-11-08T17:10:46.623Z [err] gyp ERR! stack at ChildProcess.emit (events.js:400:28)
2021-11-08T17:10:46.623Z [err] gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
2021-11-08T17:10:46.623Z [err] gyp ERR! stack at onErrorNT (internal/child_process.js:467:16)
2021-11-08T17:10:46.623Z [err] gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:82:21)
2021-11-08T17:10:46.623Z [err] gyp ERR! System Windows_NT 10.0.19042
2021-11-08T17:10:46.623Z [err] gyp
2021-11-08T17:10:46.623Z [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"
2021-11-08T17:10:46.623Z [err] gyp ERR! cwd C:\Users\DELL\.node-red\node_modules\@serialport\bindings
2021-11-08T17:10:46.623Z [err] gyp ERR! node -v v14.17.5
2021-11-08T17:10:46.623Z [err] gyp ERR! node-gyp -v v5.1.0
2021-11-08T17:10:46.623Z [err] gyp ERR! not ok
2021-11-08T17:10:47.442Z [err] npm
2021-11-08T17:10:47.443Z [err] ERR! code
2021-11-08T17:10:47.443Z [err] ELIFECYCLE
2021-11-08T17:10:47.443Z [err] npm
2021-11-08T17:10:47.444Z [err] ERR! errno 1
2021-11-08T17:10:47.456Z [err] npm
2021-11-08T17:10:47.456Z [err] ERR! @serialport/bindings@9.2.5 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
2021-11-08T17:10:47.456Z [err] npm ERR! Exit status 1
2021-11-08T17:10:47.456Z [err] npm ERR!
2021-11-08T17:10:47.456Z [err] npm ERR! Failed at the @serialport/bindings@9.2.5 install script.
2021-11-08T17:10:47.456Z [err] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-11-08T17:10:47.542Z [err]
2021-11-08T17:10:47.542Z [err] npm ERR! A complete log of this run can be found in:
2021-11-08T17:10:47.542Z [err] npm ERR! C:\Users\DELL\AppData\Roaming\npm-cache\_logs\2021-11-08T17_10_47_463Z-debug.log
2021-11-08T17:10:47.588Z rc=1
My node-red version is v2.1.3
My node js version is v14.17.5
Any help is appreciated.