configuration change solved my error. got solution from below link.

On Wed, Jan 22, 2020 at 11:25 PM Michael Lumish <[email protected]> wrote:

> 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.
>
> On Tue, Jan 21, 2020 at 10:05 PM ram mohan <[email protected]> wrote:
>
>> 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.
>>
>> https://github.com/grpc/grpc/issues/21730
>>
>>
>> node-pre-gyp WARN Using needle for node-pre-gyp https download
>> node-pre-gyp WARN Pre-built binaries not installable for [email protected] and
>> [email protected] (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" "--
>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/grpc-io/1395e3ee-dabe-4efc-b3b3-1bfa34b87483%40googlegroups.com
>> <https://groups.google.com/d/msgid/grpc-io/1395e3ee-dabe-4efc-b3b3-1bfa34b87483%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
Regards,
Ram..

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAC3juCdRwOAXZXWVhhg2QaDfQtW83YWvqt%2Bsx1iaF-rzRs9Riw%40mail.gmail.com.

Reply via email to