Can`t make gRPC work with Electron.js

Viewed 3527

I`m making an Electron app that should connect by grpc to remote host and call some functions from there.

But I keep getting the following error: Uncaught Error: A dynamic link library (DLL) initialization routine failed. \?\D:\Projects\demo-app\node_modules\grpc\src\node\extension_binary\grpc_node.node

I tried to:

  1. establish grpc connection from main and from renderer processes of Electron
  2. install dependencies as npm install --unsafe-perm

    but nothing works.

Error

2 Answers
Related