Homeassistant/NodeRed palettes problems

Hi.
Im runing NodeRed in Homeassistant on a RPI4 with ssd. And I am trying to install this palette, but it keeps coming up with errors.

this is what the log says.:

2021-01-14T19:45:43.321Z Install : node-red-contrib-wmbus-client 1.0.13

2021-01-14T19:45:43.204Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-wmbus-client@1.0.13
2021-01-14T19:46:13.834Z [out]
2021-01-14T19:46:13.834Z [out] > node-crc@1.3.0 install /config/node-red/node_modules/node-crc
2021-01-14T19:46:13.834Z [out] > node-gyp rebuild
2021-01-14T19:46:13.834Z [out]
2021-01-14T19:46:15.817Z [err] gyp
2021-01-14T19:46:15.819Z [err] ERR! build error
2021-01-14T19:46:15.819Z [err] gyp ERR! stack Error: not found: make
2021-01-14T19:46:15.819Z [err] gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
2021-01-14T19:46:15.819Z [err] gyp
2021-01-14T19:46:15.820Z [err] ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
2021-01-14T19:46:15.820Z [err] gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
2021-01-14T19:46:15.820Z [err] gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
2021-01-14T19:46:15.820Z [err] gyp ERR!
2021-01-14T19:46:15.821Z [err] stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
2021-01-14T19:46:15.821Z [err] gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
2021-01-14T19:46:15.821Z [err] gyp ERR! stack at FSReqCallback.oncomplete (fs.js:168:21)
2021-01-14T19:46:15.821Z [err] gyp ERR!
2021-01-14T19:46:15.822Z [err] System Linux 5.4.79-v8
2021-01-14T19:46:15.822Z [err] gyp
2021-01-14T19:46:15.822Z [err] ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2021-01-14T19:46:15.822Z [err] gyp ERR! cwd /config/node-red/node_modules/node-crc
2021-01-14T19:46:15.822Z [err] gyp
2021-01-14T19:46:15.822Z [err] ERR! node -v v12.18.4
2021-01-14T19:46:15.822Z [err] gyp
2021-01-14T19:46:15.823Z [err] ERR! node-gyp -v v5.1.0
2021-01-14T19:46:15.823Z [err] gyp
2021-01-14T19:46:15.823Z [err] ERR! not ok
2021-01-14T19:46:17.950Z [err] npm
2021-01-14T19:46:17.951Z [err] ERR! code ELIFECYCLE
2021-01-14T19:46:17.951Z [err] npm
2021-01-14T19:46:17.951Z [err] ERR! errno 1
2021-01-14T19:46:17.962Z [err] npm
2021-01-14T19:46:17.962Z [err] ERR! node-crc@1.3.0 install: node-gyp rebuild
2021-01-14T19:46:17.962Z [err] npm ERR! Exit status 1
2021-01-14T19:46:17.962Z [err] npm
2021-01-14T19:46:17.962Z [err] ERR!
2021-01-14T19:46:17.962Z [err] npm
2021-01-14T19:46:17.962Z [err] ERR! Failed at the node-crc@1.3.0 install script.
2021-01-14T19:46:17.962Z [err] npm ERR!
2021-01-14T19:46:17.962Z [err] This is probably not a problem with npm. There is likely additional logging output above.
2021-01-14T19:46:17.992Z [err]
2021-01-14T19:46:17.992Z [err] npm ERR!
2021-01-14T19:46:17.993Z [err] A complete log of this run can be found in:
2021-01-14T19:46:17.993Z [err] npm ERR!
2021-01-14T19:46:17.993Z [err] /root/.npm/_logs/2021-01-14T19_46_17_976Z-debug.log
2021-01-14T19:46:18.030Z rc=1

Why cant I install it?

The relevant error is: gyp ERR! stack Error: not found: make

There is a binary component that needs to be compiled and it can't find the build tools.

Assuming this is a Pi, you could try installing the build tools with:

sudo apt-get install build-essential

then try installing the node again.

âžś ~ sudo apt-get install build-essential
sudo: apt-get: command not found

this is what i get

What OS are you running? Is this Hassio? Home Assistant - Home Assistant

A quick google suggests you don't get apt-get on the Hassio image. You'll have to ask to the HA forums.

1 Like

it is hass.io image yes

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