does latest grpc@1.24.2 support with node version v10.16.0 ?

53 views
Skip to first unread message

ram mohan

unread,
Jan 22, 2020, 1:05:47 AM1/22/20
to grpc.io
when i tried to install grpc on my node with 10.16.0. i get following error and i raised issue in github as  well. 
i would like to know is there any compatibility table which says which node versions supports which grpc version?

when i downgraded to node 8 i would install. 



node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp WARN Pre-built binaries not installable for gr...@1.24.2 and no...@10.16.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error EACCES: permission denied, mkdir '/root/ram/grpc/examples/node/node_modules/grpc/src/node'
gyp WARN EACCES current user does not have permission to access the dev dir "/root/.cache/node-gyp/10.16.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/root/ram/grpc/examples/node/node_modules/grpc/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/root/ram/grpc/examples/node/node_modules/grpc/.node-gyp'
gyp ERR! System Linux 3.10.0-327.el7.x86_64
gyp ERR! command "/usr/local/lib/nodejs/node-v10.16.0-linux-x64/bin/node" "/usr/local/lib/nodejs/node-v10.16.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--library=static_library" "--module=/root/ram/grpc/examples/node/node_modules/grpc/src/node/extension_binary/node-v64-linux-x64-glibc/grpc_node.node" "--module_name=grpc_node" "--

Michael Lumish

unread,
Jan 22, 2020, 12:55:43 PM1/22/20
to ram mohan, grpc.io
Yes, the latest version of grpc supports Node 10.x.

The most important error message there is "Hit error EACCES: permission denied, mkdir '/root/ram/grpc/examples/node/node_modules/grpc/src/node'". These indicate that the filesystem permissions are preventing node-pre-gyp from accessing the directory where you are installing the library. You may be able to resolve this by running the "npm install" command with the "--unsafe-perm" argument, especially if you are using docker.

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/1395e3ee-dabe-4efc-b3b3-1bfa34b87483%40googlegroups.com.

ram mohan

unread,
Jan 22, 2020, 11:48:31 PM1/22/20
to Michael Lumish, grpc.io
configuration change solved my error. got solution from below link.
--
Regards,
Ram..
Reply all
Reply to author
Forward
0 new messages