Hello,
I am trying to install the modbus node. I've had no issues on other machines but this is throwing this error.
Any guidance would be much appreciated.
Thanks
James
2021-07-27T17:34:40.982Z Install : node-red-contrib-modbus 5.14.0
2021-07-27T17:34:41.254Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-modbus@5.14.0
2021-07-27T17:34:44.870Z [out]
2021-07-27T17:34:44.870Z [out] > @serialport/bindings@9.2.0 install /home/dc/.node-red/node_modules/@serialport/bindings
2021-07-27T17:34:44.870Z [out] > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
2021-07-27T17:34:44.870Z [out]
2021-07-27T17:34:45.028Z [err] prebuild-install
2021-07-27T17:34:45.029Z [err] WARN install /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/dc/.node-red/node_modules/@serialport/bindings/build/Release/bindings.node)
2021-07-27T17:34:45.441Z [err] gyp
2021-07-27T17:34:45.441Z [err]
2021-07-27T17:34:45.441Z [err] ERR!
2021-07-27T17:34:45.441Z [err] build error
2021-07-27T17:34:45.441Z [err]
2021-07-27T17:34:45.442Z [err] gyp
2021-07-27T17:34:45.442Z [err] ERR! stack
2021-07-27T17:34:45.442Z [err] Error: not found: make
2021-07-27T17:34:45.442Z [err] gyp
2021-07-27T17:34:45.442Z [err] ERR! stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
2021-07-27T17:34:45.442Z [err] gyp ERR!
2021-07-27T17:34:45.442Z [err] stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
2021-07-27T17:34:45.442Z [err] gyp
2021-07-27T17:34:45.442Z [err] ERR! stack
2021-07-27T17:34:45.442Z [err] at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
2021-07-27T17:34:45.442Z [err] gyp ERR!
2021-07-27T17:34:45.442Z [err] stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
2021-07-27T17:34:45.442Z [err] gyp ERR!
2021-07-27T17:34:45.442Z [err] stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
2021-07-27T17:34:45.442Z [err] gyp ERR!
2021-07-27T17:34:45.442Z [err] stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
2021-07-27T17:34:45.442Z [err] gyp ERR!
2021-07-27T17:34:45.443Z [err] stack at FSReqWrap.oncomplete (fs.js:153:21)
2021-07-27T17:34:45.443Z [err] gyp
2021-07-27T17:34:45.443Z [err] ERR!
2021-07-27T17:34:45.443Z [err] System Linux 4.15.0-151-generic
2021-07-27T17:34:45.443Z [err] gyp
2021-07-27T17:34:45.443Z [err] ERR!
2021-07-27T17:34:45.443Z [err] command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2021-07-27T17:34:45.443Z [err] gyp
2021-07-27T17:34:45.443Z [err] ERR! cwd
2021-07-27T17:34:45.443Z [err] /home/dc/.node-red/node_modules/@serialport/bindings
2021-07-27T17:34:45.443Z [err] gyp
2021-07-27T17:34:45.443Z [err] ERR!
2021-07-27T17:34:45.443Z [err] node -v v10.24.1
2021-07-27T17:34:45.443Z [err] gyp ERR!
2021-07-27T17:34:45.443Z [err] node-gyp -v v5.1.0
2021-07-27T17:34:45.443Z [err] gyp
2021-07-27T17:34:45.443Z [err] ERR! not ok
2021-07-27T17:34:45.443Z [err]
2021-07-27T17:34:45.577Z [err] npm WARN node-red-project@0.0.1 No repository field.
2021-07-27T17:34:45.577Z [err] npm WARN node-red-project@0.0.1 No license field.
2021-07-27T17:34:45.577Z [err]
2021-07-27T17:34:45.603Z [err] npm ERR! code ELIFECYCLE
2021-07-27T17:34:45.603Z [err] npm ERR! errno 1
2021-07-27T17:34:45.603Z [err] npm ERR! @serialport/bindings@9.2.0 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
2021-07-27T17:34:45.603Z [err] npm ERR! Exit status 1
2021-07-27T17:34:45.603Z [err] npm ERR!
2021-07-27T17:34:45.603Z [err] npm ERR! Failed at the @serialport/bindings@9.2.0 install script.
2021-07-27T17:34:45.603Z [err] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-07-27T17:34:45.631Z [err]
2021-07-27T17:34:45.631Z [err] npm
2021-07-27T17:34:45.632Z [err] ERR! A complete log of this run can be found in:
2021-07-27T17:34:45.632Z [err] npm ERR! /home/dc/.npm/_logs/2021-07-27T17_34_45_609Z-debug.log
2021-07-27T17:34:45.636Z rc=1