I am trying to install this node:
I have added make on node red configuration:
system_packages:
- make
But i am getting this error:
-----------------------------------------------------------
2020-10-19T04:01:36.505Z Install : node-red-contrib-lgtv 1.1.0
2020-10-19T04:01:38.607Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix="~" --production [email protected]
2020-10-19T04:01:49.484Z [out]
2020-10-19T04:01:49.484Z [out] > [email protected] install /config/node-red/node_modules/bufferutil
2020-10-19T04:01:49.484Z [out] > node-gyp-build
2020-10-19T04:01:49.484Z [out]
2020-10-19T04:01:53.180Z [out] make: Entering directory '/config/node-red/node_modules/bufferutil/build'
2020-10-19T04:01:53.181Z [out] CC(target) Release/obj.target/bufferutil/src/bufferutil.o
2020-10-19T04:01:53.185Z [err] make: cc: No such file or directory
2020-10-19T04:01:53.185Z [err] make: *** [bufferutil.target.mk:105: Release/obj.target/bufferutil/src/bufferutil.o] Error 127
2020-10-19T04:01:53.185Z [out] make: Leaving directory '/config/node-red/node_modules/bufferutil/build'
2020-10-19T04:01:53.189Z [err] gyp
2020-10-19T04:01:53.190Z [err]
2020-10-19T04:01:53.191Z [err] ERR!
2020-10-19T04:01:53.191Z [err]
2020-10-19T04:01:53.191Z [err] build error
2020-10-19T04:01:53.191Z [err]
2020-10-19T04:01:53.193Z [err] gyp
2020-10-19T04:01:53.193Z [err]
2020-10-19T04:01:53.194Z [err] ERR!
2020-10-19T04:01:53.194Z [err]
2020-10-19T04:01:53.194Z [err] stack
2020-10-19T04:01:53.195Z [err] Error: `make` failed with exit code: 2
2020-10-19T04:01:53.195Z [err] gyp
2020-10-19T04:01:53.195Z [err]
2020-10-19T04:01:53.195Z [err] ERR!
2020-10-19T04:01:53.196Z [err]
2020-10-19T04:01:53.196Z [err] stack
2020-10-19T04:01:53.196Z [err] at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
2020-10-19T04:01:53.196Z [err] gyp
2020-10-19T04:01:53.197Z [err]
2020-10-19T04:01:53.197Z [err] ERR!
2020-10-19T04:01:53.197Z [err]
2020-10-19T04:01:53.197Z [err] stack
2020-10-19T04:01:53.198Z [err] at ChildProcess.emit (events.js:315:20)
2020-10-19T04:01:53.198Z [err] gyp
2020-10-19T04:01:53.198Z [err]
2020-10-19T04:01:53.199Z [err] ERR!
2020-10-19T04:01:53.199Z [err]
2020-10-19T04:01:53.199Z [err] stack
2020-10-19T04:01:53.200Z [err] at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
2020-10-19T04:01:53.201Z [err] gyp
2020-10-19T04:01:53.201Z [err]
2020-10-19T04:01:53.201Z [err] ERR!
2020-10-19T04:01:53.202Z [err]
2020-10-19T04:01:53.202Z [err] System
2020-10-19T04:01:53.202Z [err] Linux 4.19.127-v7l
2020-10-19T04:01:53.203Z [err] gyp
2020-10-19T04:01:53.203Z [err]
2020-10-19T04:01:53.203Z [err] ERR!
2020-10-19T04:01:53.204Z [err]
2020-10-19T04:01:53.204Z [err] command
2020-10-19T04:01:53.204Z [err] "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2020-10-19T04:01:53.205Z [err] gyp
2020-10-19T04:01:53.205Z [err]
2020-10-19T04:01:53.205Z [err] ERR!
2020-10-19T04:01:53.206Z [err]
2020-10-19T04:01:53.206Z [err] cwd
2020-10-19T04:01:53.206Z [err] /config/node-red/node_modules/bufferutil
2020-10-19T04:01:53.206Z [err] gyp
2020-10-19T04:01:53.207Z [err]
2020-10-19T04:01:53.207Z [err] ERR!
2020-10-19T04:01:53.207Z [err]
2020-10-19T04:01:53.208Z [err] node -v
2020-10-19T04:01:53.208Z [err] v12.18.3
2020-10-19T04:01:53.208Z [err] gyp
2020-10-19T04:01:53.209Z [err]
2020-10-19T04:01:53.209Z [err] ERR!
2020-10-19T04:01:53.209Z [err]
2020-10-19T04:01:53.209Z [err] node-gyp -v
2020-10-19T04:01:53.210Z [err] v5.1.0
2020-10-19T04:01:53.210Z [err] gyp
2020-10-19T04:01:53.210Z [err]
2020-10-19T04:01:53.210Z [err] ERR!
2020-10-19T04:01:53.211Z [err]
2020-10-19T04:01:53.211Z [err] not ok
2020-10-19T04:01:53.211Z [err]
2020-10-19T04:01:53.524Z [err] npm
2020-10-19T04:01:53.525Z [err] ERR! code ELIFECYCLE
2020-10-19T04:01:53.525Z [err] npm ERR!
2020-10-19T04:01:53.525Z [err] errno 1
2020-10-19T04:01:53.537Z [err] npm ERR!
2020-10-19T04:01:53.538Z [err] [email protected] install: `node-gyp-build`
2020-10-19T04:01:53.538Z [err] npm ERR! Exit status 1
2020-10-19T04:01:53.538Z [err] npm ERR!
2020-10-19T04:01:53.538Z [err]
2020-10-19T04:01:53.538Z [err] npm
2020-10-19T04:01:53.538Z [err] ERR! Failed at the [email protected] install script.
2020-10-19T04:01:53.538Z [err] npm
2020-10-19T04:01:53.538Z [err] ERR! This is probably not a problem with npm. There is likely additional logging output above.
2020-10-19T04:01:53.562Z [err]
2020-10-19T04:01:53.562Z [err] npm ERR!
2020-10-19T04:01:53.563Z [err] A complete log of this run can be found in:
2020-10-19T04:01:53.563Z [err] npm
2020-10-19T04:01:53.563Z [err] ERR! /root/.npm/_logs/2020-10-19T04_01_53_546Z-debug.log
2020-10-19T04:01:53.583Z rc=1
For some reason the bufferutil is not installing. Any ideas on how to fix it?
Thank you!