Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cann't find 'node-v57-darwin-x64-unknown/grpc_node.node' module #58

Open
koponkin opened this issue Jun 11, 2018 · 1 comment
Open

Cann't find 'node-v57-darwin-x64-unknown/grpc_node.node' module #58

koponkin opened this issue Jun 11, 2018 · 1 comment

Comments

@koponkin
Copy link

koponkin commented Jun 11, 2018

I've installed grpcc successfully

sudo npm install -g grpcc
/usr/local/bin/grpcc -> /usr/local/lib/node_modules/grpcc/bin/grpcc.js
+ grpcc@1.1.3
updated 1 package in 4.057s

grpcc -v ->

Error: The gRPC binary module was not installed. This may be fixed by running "npm rebuild"
Original error: Cannot find module '/usr/local/lib/node_modules/grpcc/node_modules/grpc/src/node/extension_binary/node-v57-darwin-x64-unknown/grpc_node.node'
    at Object.<anonymous> (/usr/local/lib/node_modules/grpcc/node_modules/grpc/src/grpc_extension.js:43:17)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/grpcc/node_modules/grpc/src/client_interceptors.js:145:12)
    at Module._compile (module.js:652:30)
@olga-mir
Copy link

I had the same issue with node 10 and 8, but it worked for me on node v6.14.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants