gRPC issues when creating a service

npm link does not work


`Error: The gRPC binary module was not installed. This may be fixed by running "npm rebuild"

Original error: Cannot find module ‘/usr/lib/node_modules/@mesg/cli/node_modules/grpc/src/node/extension_binary/node-v64-linux-x64-glibc/grpc_node.node’
at Object. (/usr/lib/node_modules/@mesg/cli/node_modules/grpc/src/grpc_extension.js:43:17)
at Object. (/usr/lib/node_modules/@mesg/cli/node_modules/grpc/src/client_interceptors.js:144:12)


why are you trying the use npm link?

To install the CLI, you should run npm install -g @mesg/cli
To install the service lib in a service: npm install @mesg/service

Could you show the whole output with the command you use and the OS you are running.

Sure! The error pops up on *NIX 18.04 Ubuntu LTS and Windows via Powershell. It shows this: