Cant install node-red-dlt645

I try to install @chvdapi/node-red-dlt645,but failed.bug report as

2025-04-09T07:13:09.324Z 安装 : @chvdapi/node-red-dlt645 0.0.4

2025-04-09T07:13:09.630Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --omit=dev --engine-strict @chvdapi/node-red-dlt645@0.0.4
2025-04-09T07:13:19.902Z [err] npm warn cleanup Failed to remove some directories [
2025-04-09T07:13:19.902Z [err] npm warn cleanup   [
2025-04-09T07:13:19.902Z [err] npm warn cleanup     '\\\\?\\C:\\Users\\Administrator\\.node-red\\node_modules\\@chvdapi\\node-red-dlt645\\node_modules',
2025-04-09T07:13:19.902Z [err] npm warn cleanup     [Error: EPERM: operation not permitted, rmdir 'C:\Users\Administrator\.node-red\node_modules\@chvdapi\node-red-dlt645\node_modules\@serialport\bindings-cpp\prebuilds'] {
2025-04-09T07:13:19.902Z [err] npm warn cleanup       errno: -4048,
2025-04-09T07:13:19.902Z [err] npm warn cleanup       code: 'EPERM',
2025-04-09T07:13:19.902Z [err] npm warn cleanup       syscall: 'rmdir',
2025-04-09T07:13:19.902Z [err] npm warn cleanup       path: 'C:\\Users\\Administrator\\.node-red\\node_modules\\@chvdapi\\node-red-dlt645\\node_modules\\@serialport\\bindings-cpp\\prebuilds'
2025-04-09T07:13:19.902Z [err] npm warn cleanup     }
2025-04-09T07:13:19.902Z [err] npm warn cleanup   ]
2025-04-09T07:13:19.902Z [err] npm warn cleanup ]
2025-04-09T07:13:19.907Z [err] npm error code 1
2025-04-09T07:13:19.908Z [err] npm error path C:\Users\Administrator\.node-red\node_modules\@chvdapi\node-red-dlt645
2025-04-09T07:13:19.908Z [err] npm error command failed
2025-04-09T07:13:19.908Z [err] npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
2025-04-09T07:13:19.908Z [err] npm error gyp info it worked if it ends with ok
2025-04-09T07:13:19.908Z [err] npm error gyp info using node-gyp@11.2.0
2025-04-09T07:13:19.908Z [err] npm error gyp info using node@23.11.0 | win32 | x64
2025-04-09T07:13:19.908Z [err] npm error gyp info find Python using Python version 3.6.0 found at "C:\Program Files\python\python.exe"
2025-04-09T07:13:19.908Z [err] npm error gyp info find VS using VS2022 (17.13.35931.197) found at:
2025-04-09T07:13:19.908Z [err] npm error gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Community"
2025-04-09T07:13:19.908Z [err] npm error gyp info find VS run with --verbose for detailed information
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn C:\Program Files\python\python.exe
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args [
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args 'C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args 'binding.gyp',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args '-f',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args 'msvs',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args '-I',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args 'C:\\Users\\Administrator\\.node-red\\node_modules\\@chvdapi\\node-red-dlt645\\build\\config.gypi',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args '-I',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args 'C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args '-I',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args 'C:\\Users\\Administrator\\AppData\\Local\\node-gyp\\Cache\\23.11.0\\include\\node\\common.gypi',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args '-Dlibrary=shared_library',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args '-Dvisibility=default',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args '-Dnode_root_dir=C:\\Users\\Administrator\\AppData\\Local\\node-gyp\\Cache\\23.11.0',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\Administrator\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\23.11.0\\\\<(target_arch)\\\\node.lib',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args '-Dmodule_root_dir=C:\\Users\\Administrator\\.node-red\\node_modules\\@chvdapi\\node-red-dlt645',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args '-Dnode_engine=v8',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args '--depth=.',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args '--no-parallel',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args '--generator-output',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args 'C:\\Users\\Administrator\\.node-red\\node_modules\\@chvdapi\\node-red-dlt645\\build',
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args '-Goutput_dir=.'
2025-04-09T07:13:19.908Z [err] npm error gyp info spawn args ]
2025-04-09T07:13:19.908Z [err] npm error Traceback (most recent call last):
2025-04-09T07:13:19.908Z [err] npm error   File "C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py", line 42, in <module>
2025-04-09T07:13:19.908Z [err] npm error     import gyp  # noqa: E402
2025-04-09T07:13:19.908Z [err] npm error   File "C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 209
2025-04-09T07:13:19.908Z [err] npm error     if flags := os.environ.get(env_name) or []:
2025-04-09T07:13:19.908Z [err] npm error               ^
2025-04-09T07:13:19.908Z [err] npm error SyntaxError: invalid syntax
2025-04-09T07:13:19.908Z [err] npm error gyp ERR! configure error 
2025-04-09T07:13:19.908Z [err] npm error gyp ERR! stack Error: `gyp` failed with exit code: 1
2025-04-09T07:13:19.908Z [err] npm error gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:317:18)
2025-04-09T07:13:19.908Z [err] npm error gyp ERR! stack at ChildProcess.emit (node:events:507:28)
2025-04-09T07:13:19.908Z [err] npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
2025-04-09T07:13:19.908Z [err] npm error gyp ERR! System Windows_NT 10.0.19045
2025-04-09T07:13:19.908Z [err] npm error gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
2025-04-09T07:13:19.908Z [err] npm error gyp ERR! cwd C:\Users\Administrator\.node-red\node_modules\@chvdapi\node-red-dlt645
2025-04-09T07:13:19.908Z [err] npm error gyp ERR! node -v v23.11.0
2025-04-09T07:13:19.908Z [err] npm error gyp ERR! node-gyp -v v11.2.0
2025-04-09T07:13:19.908Z [err] npm error gyp ERR! not ok
2025-04-09T07:13:19.909Z [err] npm error A complete log of this run can be found in: C:\Users\Administrator\AppData\Local\npm-cache\_logs\2025-04-09T07_13_10_053Z-debug-0.log
2025-04-09T07:13:19.923Z rc=1

Odd numbered versions of NodeJS are not tested and are not explicitly supported. Please try with an LTS version (like Node 22 or Node 20)

Also, did you tick the checkbox to include all the necessary tools?

Unfortunately the node will not install with nodejs 22 either. It seems it is not compatible with the current nodejs versions. Also the node does not have a public source repository so there is nowhere to submit an issue against it.

You could try installing nodejs 20, but that will only be a short term solution unless the author updates the node.

node-red-dlt645 is designed for arm64 device, my computer is not support it.