React + Webpack + Electron zoom sdk integration - zoomsdk.node Reason: image not found

I’m using: GitHub - electron-react-boilerplate/electron-react-boilerplate: A Foundation for Scalable Cross-Platform Apps
and want to integrate with zoom-electron-sdk.
I downloaded the demo-app and successfully run it.
When I’m taking the sdk, lib, scripts etc. (except demo part, but did copy from package.json the relevant parts) to my app and run it, I get this error:
sdk/mac/zoomsdk.node Reason: image not found - although it’s the right path.

running the build_nodeaddon_mac.sh exit with error:
…/lib/node_add_on/electron_sdk.pb.h:9:10: fatal error: ‘google/protobuf/stubs/common.h’ file not found
on both demo app and my app.

versions:
zoom-sdk-electron: 5.4.5
node: 12.18.0
electron: 8.2.4

1 Like

Hey @ofri,

Thanks for using the dev forum!

Have you installed protobuf on your machine?

Thanks!
Michael

thanks for answering!

yes, i have it: libprotoc 3.14.0. (used brew).

I’m seeing this line:
…/lib/node_add_on/electron_sdk.pb.h:9:10: fatal error: ‘google/protobuf/stubs/common.h’ file not found
#include <google/protobuf/stubs/common.h>

on the demo app as well, when running: sh build_nodeaddon_mac.sh