JaneaSystems / nodejs-mobile

Full-fledged Node.js on Android and iOS
https://code.janeasystems.com/nodejs-mobile
Other
2.58k stars 182 forks source link

grpc module not found #260

Open plabon opened 4 years ago

plabon commented 4 years ago

Trying to build nodejs project in android. Getting the following error in grpc dependency.

Error: Failed to load gRPC binary module because it was not installed for the current system Expected directory: node-v57-android-arm64-unknown Found: [node-v64-win32-x64-unknown]

Any idea?

jaimecbernardo commented 4 years ago

Hi @plabon ,

grpc is a native module, which needs to be cross-compiled in order to run in Android. Unfortunately, we don't support building native modules on Windows yet,

Users have been able to use WSL for this before: https://github.com/JaneaSystems/nodejs-mobile/issues/4#issuecomment-377177162

1bigjokeiam commented 4 years ago

This sucks