google-cloud-node: Error node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.7.3/ ?

> sudo npm install google-cloud --unsafe-perm
> > grpc@1.7.3 install /home/projects/project/node_modules/@google-cloud/firestore/node_modules/google-gax/node
> _modules/grpc
> > node-pre-gyp install --fallback-to-build --library=static_library
> node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.7.3/
> node-v64-linux-x64-glibc.tar.gz 
> node-pre-gyp ERR! Pre-built binaries not found for grpc@1.7.3 and node@10.1.0 (node-v64 ABI, glibc) (falling back to
>  source compile with node-gyp) 
grpc.target.mk:399: recipe for target 'Release/obj.target/grpc/deps/grpc/src/core/tsi/ssl_transport_security.o' fail
ed
make: *** [Release/obj.target/grpc/deps/grpc/src/core/tsi/ssl_transport_security.o] Error 1
make: Leaving directory '/home/projects/upi_no_student/node_modules/@google-cloud/firestore/node_modules/google-gax/
node_modules/grpc/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/opt/bitnami/nodejs/lib/node_modules/npm/node_modules/node-gyp/lib/build.
js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:235:12)
gyp ERR! System Linux 4.9.0-6-amd64
gyp ERR! command "/opt/bitnami/nodejs/bin/.node.bin" "/opt/bitnami/nodejs/lib/node_modules/npm/node_modules/node-gyp
/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/home/projects/upi_no_student/n
ode_modules/@google-cloud/firestore/node_modules/google-gax/node_modules/grpc/src/node/extension_binary/node-v64-lin
ux-x64-glibc/grpc_node.node" "--module_name=grpc_node" "--module_path=/home/projects/upi_no_student/node_modules/@go
ogle-cloud/firestore/node_modules/google-gax/node_modules/grpc/src/node/extension_binary/node-v64-linux-x64-glibc"
gyp ERR! cwd /home/projects/upi_no_student/node_modules/@google-cloud/firestore/node_modules/google-gax/node_modules
/grpc

> gyp ERR! node -v v10.1.0
> gyp ERR! node-gyp -v v3.6.2
> gyp ERR! not ok 
> node-pre-gyp ERR! build error 

> node-pre-gyp ERR! stack Error: Failed to execute '/opt/bitnami/nodejs/bin/.node.bin /opt/bitnami/nodejs/lib/node_mod
> ules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/home/pro
> jects/project/node_modules/@google-cloud/firestore/node_modules/google-gax/node_modules/grpc/src/node/extensi
> on_binary/node-v64-linux-x64-glibc/grpc_node.node --module_name=grpc_node --module_path=/home/projects/projec
> t/node_modules/@google-cloud/firestore/node_modules/google-gax/node_modules/grpc/src/node/extension_binary/node-v64-
> linux-x64-glibc' (1)
> node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/projects/project/node_modules/@google-cloud/fi
> restore/node_modules/google-gax/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
> node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
> node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:957:16)
> node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:246:5)
> node-pre-gyp ERR! System Linux 4.9.0-6-amd64
> node-pre-gyp ERR! command "/opt/bitnami/nodejs/bin/.node.bin" "/home/projects/project/node_modules/@google-cl
> oud/firestore/node_modules/google-gax/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-bui
> ld" "--library=static_library"
> node-pre-gyp ERR! cwd /home/projects/project/node_modules/@google-cloud/firestore/node_modules/google-gax/nod
> e_modules/grpc
> node-pre-gyp ERR! node -v v10.1.0
> node-pre-gyp ERR! node-pre-gyp -v v0.6.39
> node-pre-gyp ERR! not ok
> Failed to execute '/opt/bitnami/nodejs/bin/.node.bin /opt/bitnami/nodejs/lib/node_modules/npm/node_modules/node-gyp/
> bin/node-gyp.js build --fallback-to-build --library=static_library --module=/home/projects/project/node_modul
> es/@google-cloud/firestore/node_modules/google-gax/node_modules/grpc/src/node/extension_binary/node-v64-linux-x64-gl
> ibc/grpc_node.node --module_name=grpc_node --module_path=/home/projects/project/node_modules/@google-cloud/fi
> restore/node_modules/google-gax/node_modules/grpc/src/node/extension_binary/node-v64-linux-x64-glibc' (1)
> npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
> npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":
> "any"} (current: {"os":"linux","arch":"x64"})
> npm ERR! code ELIFECYCLE
> npm ERR! errno 1
> npm ERR! grpc@1.7.3 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.7.3 install script.
> npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
> npm ERR! A complete log of this run can be found in:
> npm ERR!     /root/.npm/_logs/2018-06-10T19_10_00_247Z-debug.log


About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16 (4 by maintainers)

Most upvoted comments

@sudhanshugaur4 So why was this issue closed? We are being prevented from being able to update our apps to a newer version of node because of this issue.

I had similar issue with Node v10, changing node to the stable version works for me.