Help Wanted!
I trying via the Palette to install the node-red-contrib-mjpgcamera with a failed result. I have the latest v1.1.3. running on a Synology NAS.
Any idea why the installation failed, anyone?
-----------------------------------------------------------
2020-09-25T15:09:31.656Z Install : node-red-contrib-mjpgcamera 1.0.4
2020-09-25T15:09:31.693Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix="~" --production node-red-contrib-mjpgcamera@1.0.4
2020-09-25T15:09:49.365Z [err] npm
2020-09-25T15:09:49.366Z [err] WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-09-25T15:09:55.629Z [err] npm
2020-09-25T15:09:55.629Z [err]
2020-09-25T15:09:55.630Z [err] WARN
2020-09-25T15:09:55.631Z [err]
2020-09-25T15:09:55.632Z [err] deprecated
2020-09-25T15:09:55.632Z [err] har-validator@5.1.5: this library is no longer supported
2020-09-25T15:10:09.005Z [out]
2020-09-25T15:10:09.005Z [out] > buffertools@2.1.6 install /volume1/homes/[admin]/.node-red/node_modules/buffertools
2020-09-25T15:10:09.005Z [out] > node-gyp rebuild
2020-09-25T15:10:09.005Z [out]
2020-09-25T15:10:16.753Z [err] gyp
2020-09-25T15:10:16.760Z [err]
2020-09-25T15:10:16.760Z [err] ERR!
2020-09-25T15:10:16.761Z [err]
2020-09-25T15:10:16.762Z [err] build error
2020-09-25T15:10:16.763Z [err]
2020-09-25T15:10:16.766Z [err] gyp
2020-09-25T15:10:16.767Z [err]
2020-09-25T15:10:16.767Z [err] ERR!
2020-09-25T15:10:16.768Z [err]
2020-09-25T15:10:16.769Z [err] stack
2020-09-25T15:10:16.770Z [err] Error: not found: make
2020-09-25T15:10:16.770Z [err] gyp
2020-09-25T15:10:16.771Z [err]
2020-09-25T15:10:16.772Z [err] ERR!
2020-09-25T15:10:16.772Z [err]
2020-09-25T15:10:16.773Z [err] stack
2020-09-25T15:10:16.773Z [err] at getNotFoundError (/usr/local/lib/node_modules/npm/node_modules/which/which.js:13:12)
2020-09-25T15:10:16.774Z [err] gyp
2020-09-25T15:10:16.775Z [err]
2020-09-25T15:10:16.779Z [err] ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:68:19)
2020-09-25T15:10:16.779Z [err] gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:80:29)
2020-09-25T15:10:16.779Z [err] gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:89:16
2020-09-25T15:10:16.779Z [err] gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5
2020-09-25T15:10:16.779Z [err] gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5
2020-09-25T15:10:16.779Z [err] gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21)
2020-09-25T15:10:16.779Z [err] gyp
2020-09-25T15:10:16.780Z [err] ERR!
2020-09-25T15:10:16.780Z [err] System Linux 3.2.40
2020-09-25T15:10:16.781Z [err] gyp
2020-09-25T15:10:16.781Z [err] ERR!
2020-09-25T15:10:16.782Z [err] command "/volume1/@appstore/Node.js_v8/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2020-09-25T15:10:16.782Z [err] gyp ERR!
2020-09-25T15:10:16.783Z [err] cwd /volume1/homes/[admin]/.node-red/node_modules/buffertools
2020-09-25T15:10:16.783Z [err] gyp
2020-09-25T15:10:16.784Z [err] ERR! node -v v8.9.4
2020-09-25T15:10:16.784Z [err] gyp
2020-09-25T15:10:16.785Z [err] ERR! node-gyp -v v3.6.2
2020-09-25T15:10:16.785Z [err] gyp
2020-09-25T15:10:16.787Z [err] ERR! not ok
2020-09-25T15:10:18.598Z [err] npm
2020-09-25T15:10:18.601Z [err]
2020-09-25T15:10:18.602Z [err] ERR!
2020-09-25T15:10:18.602Z [err]
2020-09-25T15:10:18.603Z [err] code
2020-09-25T15:10:18.603Z [err] ELIFECYCLE
2020-09-25T15:10:18.605Z [err] npm
2020-09-25T15:10:18.605Z [err]
2020-09-25T15:10:18.610Z [err] ERR! errno 1
2020-09-25T15:10:18.612Z [err] npm
2020-09-25T15:10:18.612Z [err] ERR! buffertools@2.1.6 install: `node-gyp rebuild`
2020-09-25T15:10:18.613Z [err] npm ERR! Exit status 1
2020-09-25T15:10:18.614Z [err] npm
2020-09-25T15:10:18.614Z [err] ERR!
2020-09-25T15:10:18.614Z [err] npm
2020-09-25T15:10:18.615Z [err] ERR! Failed at the buffertools@2.1.6 install script.
2020-09-25T15:10:18.615Z [err] npm
2020-09-25T15:10:18.615Z [err] ERR! This is probably not a problem with npm. There is likely additional logging output above.
2020-09-25T15:10:19.023Z [err]
2020-09-25T15:10:19.024Z [err] npm
2020-09-25T15:10:19.028Z [err] ERR! A complete log of this run can be found in:
2020-09-25T15:10:19.028Z [err] npm ERR! /var/services/homes/[admin]/.npm/_logs/2020-09-25T15_10_18_659Z-debug.log
2020-09-25T15:10:19.076Z rc=1
I believe that is the key error. It seems that to install that node it is necessary to compile a module. On a linux system the command to do that would normally be apt-get install build-essential but whether that is correct for your NAS I don't know.