hassio-addons/addon-node-red

node-red-contrib-dht-sensor not installing #510

lecrote posted onGitHub

I'm unable to install that node node-red-contrib-dht-sensor

Setup RPI3B+

It returns me error Mar 08:44:39 - [info] Installing module: node-red-contrib-dht-sensor, version: 1.0.4 22 Mar 08:44:48 - [warn] Installation of module node-red-contrib-dht-sensor failed: 22 Mar 08:44:48 - [warn] ------------------------------------------ 22 Mar 08:44:48 - [warn] gyp ERR! build error gyp ERR! stack Error: not found: make gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12) gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19) gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29) gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16 gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5 gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5 gyp ERR! stack at FSReqCallback.oncomplete (fs.js:158:21) gyp ERR! System Linux 4.19.106-v7 gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" gyp ERR! cwd /config/node-red/node_modules/node-dht-sensor gyp ERR! node -v v12.15.0 gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-dht-sensor@0.4.1 postinstall: node-gyp build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-dht-sensor@0.4.1 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2020-03-22T12_44_48_251Z-debug.log 22 Mar 08:44:48 - [warn] -----------------------------------------


:wave: Thanks for opening your first issue here! If you're reporting a :bug: bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be useful.

posted by addons-assistant[bot] about 5 years ago

gyp ERR! stack Error: not found: make

You are missing the dependencies needed under system packages. If you search through the closed issues there are many example of this.

posted by sinclairpaul about 5 years ago

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

posted by addons-assistant[bot] about 5 years ago

Fund this Issue

$0.00
Funded

Pull requests