error grpc node-pre-gyp #630
TomasDlg posted onGitHub
Hello,
I’ve try install node-red-contrib-alice but i’ve this error:
2020-07-26T14:17:16.653Z Install : node-red-contrib-alice 0.4.1
2020-07-26T14:18:07.882Z [out]
2020-07-26T14:18:07.882Z [out] > grpc@1.24.2 install /config/node-red/node_modules/grpc
2020-07-26T14:18:07.882Z [out] > node-pre-gyp install --fallback-to-build --library=static_library
2020-07-26T14:18:07.882Z [out]
2020-07-26T14:18:09.360Z [err] node-pre-gyp
2020-07-26T14:18:09.362Z [err]
2020-07-26T14:18:09.362Z [err] WARN Using request for node-pre-gyp https download
2020-07-26T14:18:10.126Z [err] node-pre-gyp
2020-07-26T14:18:10.127Z [err] WARN
2020-07-26T14:18:10.127Z [err] Tried to download(404): https://node-precompiled-binaries.grpc.io/grpc/v1.24.2/node-v72-linux-arm-musl.tar.gz
2020-07-26T14:18:10.128Z [err] node-pre-gyp WARN
2020-07-26T14:18:10.128Z [err] Pre-built binaries not found for grpc@1.24.2 and node@12.17.0 (node-v72 ABI, musl) (falling back to source compile with node-gyp)
2020-07-26T14:18:14.230Z [err] gyp
2020-07-26T14:18:14.232Z [err]
2020-07-26T14:18:14.233Z [err] ERR! build error
2020-07-26T14:18:14.234Z [err] gyp
2020-07-26T14:18:14.235Z [err] ERR!
2020-07-26T14:18:14.235Z [err] stack Error: not found: make
2020-07-26T14:18:14.235Z [err] gyp ERR!
2020-07-26T14:18:14.235Z [err] stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
2020-07-26T14:18:14.235Z [err] gyp ERR!
2020-07-26T14:18:14.236Z [err] stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
2020-07-26T14:18:14.236Z [err] gyp ERR!
2020-07-26T14:18:14.236Z [err] stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
2020-07-26T14:18:14.236Z [err] gyp ERR!
2020-07-26T14:18:14.236Z [err] stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
2020-07-26T14:18:14.236Z [err] gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
2020-07-26T14:18:14.236Z [err] gyp ERR!
2020-07-26T14:18:14.236Z [err] stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
2020-07-26T14:18:14.236Z [err] gyp
2020-07-26T14:18:14.236Z [err] ERR! stack at FSReqCallback.oncomplete (fs.js:167:21)
2020-07-26T14:18:14.237Z [err] gyp
2020-07-26T14:18:14.237Z [err] ERR! System Linux 4.19.118-v7l+
2020-07-26T14:18:14.237Z [err] gyp
2020-07-26T14:18:14.238Z [err] ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/config/node-red/node_modules/grpc/src/node/extension_binary/node-v72-linux-arm-musl/grpc_node.node" "--module_name=grpc_node" "--module_path=/config/node-red/node_modules/grpc/src/node/extension_binary/node-v72-linux-arm-musl" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
2020-07-26T14:18:14.238Z [err] gyp ERR!
2020-07-26T14:18:14.238Z [err] cwd /config/node-red/node_modules/grpc
2020-07-26T14:18:14.238Z [err] gyp ERR!
2020-07-26T14:18:14.238Z [err] node -v v12.17.0
2020-07-26T14:18:14.238Z [err] gyp ERR!
2020-07-26T14:18:14.238Z [err] node-gyp -v v5.1.0
2020-07-26T14:18:14.238Z [err] gyp
2020-07-26T14:18:14.238Z [err] ERR! not ok
2020-07-26T14:18:14.238Z [err]
2020-07-26T14:18:14.244Z [err] node-pre-gyp
2020-07-26T14:18:14.244Z [err] ERR!
2020-07-26T14:18:14.244Z [err] build error
2020-07-26T14:18:14.244Z [err]
2020-07-26T14:18:14.246Z [err] node-pre-gyp
2020-07-26T14:18:14.246Z [err] ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/config/node-red/node_modules/grpc/src/node/extension_binary/node-v72-linux-arm-musl/grpc_node.node --module_name=grpc_node --module_path=/config/node-red/node_modules/grpc/src/node/extension_binary/node-v72-linux-arm-musl --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
2020-07-26T14:18:14.246Z [err] node-pre-gyp
2020-07-26T14:18:14.247Z [err] ERR!
2020-07-26T14:18:14.247Z [err] stack at ChildProcess.<anonymous> (/config/node-red/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
2020-07-26T14:18:14.247Z [err] node-pre-gyp ERR! stack
2020-07-26T14:18:14.247Z [err] at ChildProcess.emit (events.js:315:20)
2020-07-26T14:18:14.247Z [err] node-pre-gyp
2020-07-26T14:18:14.247Z [err] ERR! stack
2020-07-26T14:18:14.247Z [err] at maybeClose (internal/child_process.js:1021:16)
2020-07-26T14:18:14.247Z [err] node-pre-gyp ERR!
2020-07-26T14:18:14.247Z [err] stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
2020-07-26T14:18:14.248Z [err] node-pre-gyp
2020-07-26T14:18:14.248Z [err] ERR! System Linux 4.19.118-v7l+
2020-07-26T14:18:14.248Z [err] node-pre-gyp
2020-07-26T14:18:14.249Z [err] ERR! command
2020-07-26T14:18:14.249Z [err] "/usr/bin/node" "/config/node-red/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
2020-07-26T14:18:14.249Z [err] node-pre-gyp
2020-07-26T14:18:14.249Z [err] ERR! cwd
2020-07-26T14:18:14.249Z [err] /config/node-red/node_modules/grpc
2020-07-26T14:18:14.249Z [err] node-pre-gyp ERR!
2020-07-26T14:18:14.249Z [err] node -v v12.17.0
2020-07-26T14:18:14.249Z [err] node-pre-gyp
2020-07-26T14:18:14.249Z [err] ERR! node-pre-gyp -v v0.14.0
2020-07-26T14:18:14.249Z [err] node-pre-gyp ERR!
2020-07-26T14:18:14.249Z [err] not ok
2020-07-26T14:18:14.251Z [out] Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/config/node-red/node_modules/grpc/src/node/extension_binary/node-v72-linux-arm-musl/grpc_node.node --module_name=grpc_node --module_path=/config/node-red/node_modules/grpc/src/node/extension_binary/node-v72-linux-arm-musl --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
2020-07-26T14:18:16.194Z [err] npm
2020-07-26T14:18:16.194Z [err]
2020-07-26T14:18:16.195Z [err] ERR!
2020-07-26T14:18:16.195Z [err]
2020-07-26T14:18:16.195Z [err] code
2020-07-26T14:18:16.195Z [err] ELIFECYCLE
2020-07-26T14:18:16.196Z [err] npm
2020-07-26T14:18:16.196Z [err]
2020-07-26T14:18:16.196Z [err] ERR!
2020-07-26T14:18:16.196Z [err]
2020-07-26T14:18:16.196Z [err] errno
2020-07-26T14:18:16.196Z [err] 1
2020-07-26T14:18:16.199Z [err] npm
2020-07-26T14:18:16.200Z [err]
2020-07-26T14:18:16.200Z [err] ERR!
2020-07-26T14:18:16.200Z [err] grpc@1.24.2 install: node-pre-gyp install --fallback-to-build --library=static_library
2020-07-26T14:18:16.200Z [err] npm
2020-07-26T14:18:16.200Z [err]
2020-07-26T14:18:16.201Z [err] ERR!
2020-07-26T14:18:16.201Z [err] Exit status 1
2020-07-26T14:18:16.201Z [err] npm
2020-07-26T14:18:16.202Z [err]
2020-07-26T14:18:16.202Z [err] ERR!
2020-07-26T14:18:16.202Z [err]
2020-07-26T14:18:16.202Z [err] npm
2020-07-26T14:18:16.203Z [err]
2020-07-26T14:18:16.203Z [err] ERR!
2020-07-26T14:18:16.203Z [err] Failed at the grpc@1.24.2 install script.
2020-07-26T14:18:16.204Z [err] npm
2020-07-26T14:18:16.204Z [err]
2020-07-26T14:18:16.204Z [err] ERR!
2020-07-26T14:18:16.205Z [err] This is probably not a problem with npm. There is likely additional logging output above.
2020-07-26T14:18:16.274Z [err]
2020-07-26T14:18:16.275Z [err] npm ERR! A complete log of this run can be found in:
2020-07-26T14:18:16.275Z [err] npm
2020-07-26T14:18:16.275Z [err] ERR! /root/.npm/_logs/2020-07-26T14_18_16_240Z-debug.log
2020-07-26T14:18:16.310Z rc=1
How i can resolve this error? thank you for help
<blockquote></blockquote>