hobbyquaker / node-red-contrib-lgtv

Node-RED Nodes to control LG webOS Smart TVs :tv:
http://flows.nodered.org/node/node-red-contrib-lgtv
MIT License
59 stars 22 forks source link

installing #35

Open Rtamagnini opened 3 years ago

Rtamagnini commented 3 years ago

Hello, i have hassio in an rpi3.

when installing I'm getting this error: getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)

what should I do to install lgtv?

2020-12-02T19:47:00.345Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-lgtv@1.1.0 2020-12-02T19:47:13.342Z [out] 2020-12-02T19:47:13.342Z [out] > bufferutil@4.0.2 install /config/node-red/node_modules/bufferutil 2020-12-02T19:47:13.342Z [out] > node-gyp-build 2020-12-02T19:47:13.342Z [out] 2020-12-02T19:47:18.900Z [err] gyp 2020-12-02T19:47:18.902Z [err]
2020-12-02T19:47:18.903Z [err] ERR! build error 2020-12-02T19:47:18.905Z [err] gyp 2020-12-02T19:47:18.906Z [err] ERR! 2020-12-02T19:47:18.906Z [err] stack Error: not found: make 2020-12-02T19:47:18.906Z [err] gyp ERR! 2020-12-02T19:47:18.907Z [err] stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12) 2020-12-02T19:47:18.907Z [err] gyp ERR! 2020-12-02T19:47:18.907Z [err] stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19) 2020-12-02T19:47:18.908Z [err] gyp ERR! 2020-12-02T19:47:18.908Z [err] stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29) 2020-12-02T19:47:18.908Z [err] gyp ERR! 2020-12-02T19:47:18.908Z [err] stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16 2020-12-02T19:47:18.908Z [err] gyp ERR! 2020-12-02T19:47:18.909Z [err] stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5 2020-12-02T19:47:18.909Z [err] gyp 2020-12-02T19:47:18.909Z [err] ERR! 2020-12-02T19:47:18.909Z [err] stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5 2020-12-02T19:47:18.909Z [err] gyp 2020-12-02T19:47:18.910Z [err] ERR! stack at FSReqCallback.oncomplete (fs.js:168:21) 2020-12-02T19:47:18.911Z [err] gyp 2020-12-02T19:47:18.911Z [err] ERR! System Linux 4.19.127-v8 2020-12-02T19:47:18.912Z [err] gyp ERR! command 2020-12-02T19:47:18.912Z [err] "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" 2020-12-02T19:47:18.912Z [err] gyp 2020-12-02T19:47:18.912Z [err] ERR! cwd /config/node-red/node_modules/bufferutil 2020-12-02T19:47:18.912Z [err] gyp 2020-12-02T19:47:18.913Z [err] ERR! node -v v12.18.4 2020-12-02T19:47:18.913Z [err] gyp 2020-12-02T19:47:18.913Z [err] ERR! node-gyp -v v5.1.0 2020-12-02T19:47:18.913Z [err] gyp ERR! 2020-12-02T19:47:18.914Z [err] not ok 2020-12-02T19:47:19.394Z [err] npm 2020-12-02T19:47:19.394Z [err] ERR! code ELIFECYCLE 2020-12-02T19:47:19.395Z [err] npm 2020-12-02T19:47:19.395Z [err] ERR! errno 1 2020-12-02T19:47:19.412Z [err] npm 2020-12-02T19:47:19.412Z [err] ERR! bufferutil@4.0.2 install: node-gyp-build 2020-12-02T19:47:19.412Z [err] npm ERR! Exit status 1 2020-12-02T19:47:19.412Z [err] npm ERR! 2020-12-02T19:47:19.413Z [err]
2020-12-02T19:47:19.413Z [err] npm ERR! 2020-12-02T19:47:19.413Z [err] Failed at the bufferutil@4.0.2 install script. 2020-12-02T19:47:19.413Z [err] npm 2020-12-02T19:47:19.413Z [err] ERR! This is probably not a problem with npm. There is likely additional logging output above. 2020-12-02T19:47:19.449Z [err] 2020-12-02T19:47:19.451Z [err] npm ERR! 2020-12-02T19:47:19.452Z [err] A complete log of this run can be found in: 2020-12-02T19:47:19.452Z [err] npm ERR! /root/.npm/_logs/2020-12-02T19_47_19_425Z-debug.log