npm i fails on Centos 8 with
npm ERR! grpc@1.10.1 install: node-pre-gyp install --fallback-to-build --library=static_library
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the grpc@1.10.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
...
npm ERR! grpc@1.10.1 install: node-pre-gyp install --fallback-to-build --library=static_library
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the grpc@1.10.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
...
compilation terminated.
make: *** [grpc.target.mk:405: Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/chttp2_transport.o] Error 1
make: Leaving directory '/mnt/usb-1t/projects/angularfs/node_modules/grpc/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/tonydiep/.n/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.18.0-80.11.2.el8_0.x86_64
gyp ERR! command "/home/tonydiep/.n/bin/node" "/home/tonydiep/.n/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/mnt/usb-1t/projects/angularfs/node_modules/grpc/src/node/extension_binary/node-v72-linux-x64-glibc/grpc_node.node" "--module_name=grpc_node" "--module_path=/mnt/usb-1t/projects/angularfs/node_modules/grpc/src/node/extension_binary/node-v72-linux-x64-glibc"
gyp ERR! cwd /mnt/usb-1t/projects/angularfs/node_modules/grpc
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm i fails on Centos 8 with npm ERR! grpc@1.10.1 install:
node-pre-gyp install --fallback-to-build --library=static_library
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the grpc@1.10.1 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. ... npm ERR! grpc@1.10.1 install:node-pre-gyp install --fallback-to-build --library=static_library
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the grpc@1.10.1 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. ... compilation terminated. make: *** [grpc.target.mk:405: Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/chttp2_transport.o] Error 1 make: Leaving directory '/mnt/usb-1t/projects/angularfs/node_modules/grpc/build' gyp ERR! build error gyp ERR! stack Error:make
failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/home/tonydiep/.n/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:210:5) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) gyp ERR! System Linux 4.18.0-80.11.2.el8_0.x86_64 gyp ERR! command "/home/tonydiep/.n/bin/node" "/home/tonydiep/.n/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/mnt/usb-1t/projects/angularfs/node_modules/grpc/src/node/extension_binary/node-v72-linux-x64-glibc/grpc_node.node" "--module_name=grpc_node" "--module_path=/mnt/usb-1t/projects/angularfs/node_modules/grpc/src/node/extension_binary/node-v72-linux-x64-glibc" gyp ERR! cwd /mnt/usb-1t/projects/angularfs/node_modules/grpc gyp ERR! node -v v12.13.0 gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok