Can't install "npm install @ais_automation/node-red-node-ciss"

Hey there.
I couldn't install npm install @ais_automation/node-red-node-ciss. Please help me in that.

Regards,

Did you follow the instructions on the node's page?
(Hint: make sure you are in the .node-red folder before running the npm command)

I'd like to point out that the node hasn't been updated in over 4 years. That doesn't mean it won't work, but keep it in mind.

It won't install for me either, I suspect it is not compatible with current versions of nodejs, or maybe it is pulling in out of date versions of other nodes. I suggest you submit an issue on the node's github page and hope that the author is still maintaining it. In the issue include the version of nodejs that you are using, and post the log there too. If you install from withing node-red, when it fails to install it tells you where the log is.

Yes, I have followed the page but there isn't any certain information.

Can you provide more info?

What errors do you see?
What versions of node & node-red do you have installed?
How is node-red installed (official script? Docker? Plug in of home assistant etc etc etc)

I am using Node Js v18. I am tring to install @ais_automation/node-red-node-ciss 0.1.0.

error code 1
417 error path C:\Users\SAUBHAGYA.node-red\node_modules@serialport\bindings
418 error command failed
419 error command C:\WINDOWS\system32\cmd.exe /d /s /c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
420 error Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
420 error serialport.cpp
420 error C:\Users\SAUBHAGYA.node-red\node_modules@serialport\bindings\src\serialport.cpp(329,96): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [C:\Users\SAUBHAGYA.node-red\node_modules@serialport\bindings\build\bindings.vcxproj]
420 error C:\Users\SAUBHAGYA.node-red\node_modules@serialport\bindings\src\serialport.cpp(330,96): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [C:\Users\SAUBHAGYA.node-red\node_modules@serialport\bindings\build\bindings.vcxproj]
420 error C:\Users\SAUBHAGYA.node-red\node_modules@serialport\bindings\src\serialport.cpp(331,96): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [C:\Users\SAUBHAGYA.node-red\node_modules@serialport\bindings\build\bindings.vcxproj]
420 error C:\Users\SAUBHAGYA.node-red\node_modules@serialport\bindings\src\serialport.cpp(378,106): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [C:\Users\SAUBHAGYA.node-red\node_modules@serialport\bindings\build\bindings.vcxproj]
421 error gyp info it worked if it ends with ok
421 error gyp info using node-gyp@9.3.0
421 error gyp info using node@18.12.1 | win32 | x64
421 error gyp info find Python using Python version 3.10.10 found at "C:\Users\SAUBHAGYA\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\python.exe"
421 error gyp info find VS using VS2019 (16.11.32002.261) found at:
421 error gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
421 error gyp info find VS run with --verbose for detailed information
421 error gyp info spawn C:\Users\SAUBHAGYA\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\python.exe
421 error gyp info spawn args [
421 error gyp info spawn args 'C:\Users\SAUBHAGYA\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py',
421 error gyp info spawn args 'binding.gyp',
421 error gyp info spawn args '-f',
421 error gyp info spawn args 'msvs',
421 error gyp info spawn args '-I',
421 error gyp info spawn args 'C:\Users\SAUBHAGYA\.node-red\node_modules\@serialport\bindings\build\config.gypi',
421 error gyp info spawn args '-I',
421 error gyp info spawn args 'C:\Users\SAUBHAGYA\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\addon.gypi',
421 error gyp info spawn args '-I',
421 error gyp info spawn args 'C:\Users\SAUBHAGYA\AppData\Local\node-gyp\Cache\18.12.1\include\node\common.gypi',
421 error gyp info spawn args '-Dlibrary=shared_library',
421 error gyp info spawn args '-Dvisibility=default',
421 error gyp info spawn args '-Dnode_root_dir=C:\Users\SAUBHAGYA\AppData\Local\node-gyp\Cache\18.12.1',
421 error gyp info spawn args '-Dnode_gyp_dir=C:\Users\SAUBHAGYA\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp',
421 error gyp info spawn args '-Dnode_lib_file=C:\\Users\\SAUBHAGYA\\AppData\\Local\\node-gyp\\Cache\\18.12.1\\<(target_arch)\\node.lib',
421 error gyp info spawn args '-Dmodule_root_dir=C:\Users\SAUBHAGYA\.node-red\node_modules\@serialport\bindings',
421 error gyp info spawn args '-Dnode_engine=v8',
421 error gyp info spawn args '--depth=.',
421 error gyp info spawn args '--no-parallel',
421 error gyp info spawn args '--generator-output',
421 error gyp info spawn args 'C:\Users\SAUBHAGYA\.node-red\node_modules\@serialport\bindings\build',
421 error gyp info spawn args '-Goutput_dir=.'
421 error gyp info spawn args ]
421 error gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe
421 error gyp info spawn args [
421 error gyp info spawn args 'build/binding.sln',
421 error gyp info spawn args '/clp:Verbosity=minimal',
421 error gyp info spawn args '/nologo',
421 error gyp info spawn args '/p:Configuration=Release;Platform=x64'
421 error gyp info spawn args ]
421 error gyp ERR! build error
421 error gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe failed with exit code: 1
421 error gyp ERR! stack at ChildProcess.onExit (C:\Users\SAUBHAGYA\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:203:23)
421 error gyp ERR! stack at ChildProcess.emit (node:events:513:28)
421 error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
421 error gyp ERR! System Windows_NT 10.0.19044
421 error gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\SAUBHAGYA\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
421 error gyp ERR! cwd C:\Users\SAUBHAGYA.node-red\node_modules@serialport\bindings
421 error gyp ERR! node -v v18.12.1
421 error gyp ERR! node-gyp -v v9.3.0
421 error gyp ERR! not ok
422 verbose exit 1
423 timing npm Completed in 20859ms
424 verbose unfinished npm timer reify 1679991531457
425 verbose unfinished npm timer reify:build 1679991542785
426 verbose unfinished npm timer build 1679991542787
427 verbose unfinished npm timer build:deps 1679991542787
428 verbose unfinished npm timer build:run:install 1679991542816
429 verbose unfinished npm timer build:run:install:node_modules/@serialport/bindings 1679991542816
430 verbose code 1

As I said:

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