I am trying to use gRPC for the first time but I am getting following error:
Uncaught Error: Failed to load gRPC binary module because it was not
installed for the current system
Expected directory: electron-v1.8-linux-x64-glibc
Found: [node-v57-linux-x64-glibc]
This problem can often be fixed by running "npm rebuild" on the current
system
Original error: Cannot find module
'/home/stefan/Work/myproj/node_modules/grpc/src/node/extension_binary/electron-v1.8-linux-x64-glibc/grpc_node.node'
at Object.<anonymous>
(/home/stefan/Work/myproj/node_modules/grpc/src/grpc_extension.js:53:17)
at Object.<anonymous>
(/home/stefan/Work/myproj/node_modules/grpc/src/grpc_extension.js:63:3)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.<anonymous>
(/home/stefan/Work/ElectroNGL/node_modules/grpc/src/client.js:37:12)
I checked and my node.js version should be supported
$ node --version
v8.9.3
Could you help me out with this?
Thanks!
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit
https://groups.google.com/d/msgid/grpc-io/9fa9c6cc-0d1d-49ee-b81e-b3d7a0bbed58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.