Node-Red Contrib-RFXCOM

I want to add some extra nodes to Node-Red. With the extension Node-Red-Contrib_RFXCOM I will be able to control for example Pellet Stoves and Hoods. Even if there’s no integration for does things in Hassio yet.
But there’s is a problem. I can’t add does nodes to the palette. I get errors. Even after I added some stuff to the config file. So now I’m stuck! Can someone solve this problem for me because I’m certenly not an expert on this matter.

This is what I added to the config:

system_packages:

  • make
    npm_packages:
  • node-gyp
  • prebuild-install
    init_commands: []

And this is the error log I get: I looks obvious (but not to me):


2020-05-04T17:22:00.395Z Install : node-red-contrib-rfxcom 2.10.0

2020-05-04T17:22:02.243Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production [email protected]
2020-05-04T17:22:24.556Z [out]
2020-05-04T17:22:24.556Z [out] > @serialport/[email protected] install /config/node-red/node_modules/@serialport/bindings
2020-05-04T17:22:24.556Z [out] > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
2020-05-04T17:22:24.556Z [out]
2020-05-04T17:22:26.036Z [err] prebuild-install
2020-05-04T17:22:26.037Z [err] WARN install No prebuilt binaries found (target=12.15.0 runtime=node arch=arm libc=musl platform=linux)
2020-05-04T17:22:28.980Z [out] make: Entering directory ‘/config/node-red/node_modules/@serialport/bindings/build’
2020-05-04T17:22:28.982Z [out] CXX(target) Release/obj.target/bindings/src/serialport.o
2020-05-04T17:22:28.991Z [err] make: g++: Command not found
2020-05-04T17:22:28.992Z [err] make: *** [bindings.target.mk:106: Release/obj.target/bindings/src/serialport.o] Error 127
2020-05-04T17:22:28.993Z [out] make: Leaving directory ‘/config/node-red/node_modules/@serialport/bindings/build’
2020-05-04T17:22:29.003Z [err] gyp
2020-05-04T17:22:29.007Z [err]
2020-05-04T17:22:29.008Z [err] ERR! build error
2020-05-04T17:22:29.012Z [err] gyp
2020-05-04T17:22:29.012Z [err] ERR! stack
2020-05-04T17:22:29.013Z [err] Error: make failed with exit code: 2
2020-05-04T17:22:29.013Z [err] gyp ERR! stack
2020-05-04T17:22:29.013Z [err] at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
2020-05-04T17:22:29.013Z [err] gyp ERR! stack
2020-05-04T17:22:29.014Z [err] at ChildProcess.emit (events.js:223:5)
2020-05-04T17:22:29.014Z [err] gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
2020-05-04T17:22:29.015Z [err] gyp
2020-05-04T17:22:29.015Z [err] ERR! System Linux 4.19.114-v7
2020-05-04T17:22:29.016Z [err] gyp ERR! command “/usr/bin/node” “/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
2020-05-04T17:22:29.016Z [err] gyp ERR!
2020-05-04T17:22:29.016Z [err] cwd /config/node-red/node_modules/@serialport/bindings
2020-05-04T17:22:29.016Z [err] gyp
2020-05-04T17:22:29.017Z [err] ERR! node -v v12.15.0
2020-05-04T17:22:29.017Z [err] gyp ERR! node-gyp -v v5.0.5
2020-05-04T17:22:29.017Z [err] gyp ERR!
2020-05-04T17:22:29.018Z [err] not ok
2020-05-04T17:22:30.018Z [err] npm
2020-05-04T17:22:30.019Z [err] ERR! code ELIFECYCLE
2020-05-04T17:22:30.020Z [err] npm ERR! errno
2020-05-04T17:22:30.020Z [err] 1
2020-05-04T17:22:30.027Z [err] npm
2020-05-04T17:22:30.027Z [err] ERR! @serialport/[email protected] install: prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
2020-05-04T17:22:30.027Z [err] npm ERR! Exit status 1
2020-05-04T17:22:30.028Z [err] npm ERR!
2020-05-04T17:22:30.028Z [err]
2020-05-04T17:22:30.028Z [err] npm ERR!
2020-05-04T17:22:30.028Z [err] Failed at the @serialport/[email protected] install script.
2020-05-04T17:22:30.028Z [err] npm ERR!
2020-05-04T17:22:30.028Z [err] This is probably not a problem with npm. There is likely additional logging output above.
2020-05-04T17:22:30.114Z [err]
2020-05-04T17:22:30.115Z [err] npm ERR!
2020-05-04T17:22:30.116Z [err] A complete log of this run can be found in:
2020-05-04T17:22:30.116Z [err] npm ERR!
2020-05-04T17:22:30.116Z [err] /root/.npm/_logs/2020-05-04T17_22_30_073Z-debug.log
2020-05-04T17:22:30.149Z rc=1

1 Like