# Electron demo app run

**URL:** <https://devforum.zoom.us/t/electron-demo-app-run/40173>\
**Category:** Electron\
**Created:** [January 10, 2021, 6:44pm UTC](https://devforum.zoom.us/t/electron-demo-app-run/40173 "2021-01-10T18:44:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![karim](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/karim/32/21270_2.png) [@karim](https://devforum.zoom.us/u/karim)\
**Post date:** [January 10, 2021, 6:44pm UTC](https://devforum.zoom.us/t/electron-demo-app-run/40173/1 "2021-01-10T18:44:34Z")

</div>

**Description**

1. I want to package zoom in an Electron app, do I need to rebuild the SDK from scratch (for it to be compatible with my version of electron)?
2. Also, when running the demo app, I seem to be unable to pass beyond the JWT submission.

**Which version?**  
Electron: v11.1.0  
Node: v14.7.0  
Zoom-SDK: v5.4.54528.1230

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Run demo script
2. Press start demo (with params: { identifier: ‘’ / ‘me@domain.com’, domain: ‘[https://www.zoom.us](https://www.zoom.us)’ })
3. Input JWT (obtain from app management console)
4. Nothing happens.

Thanks in advance, any help is appreciated!

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [February 11, 2021, 10:47pm UTC](https://devforum.zoom.us/t/electron-demo-app-run/40173/2 "2021-02-11T22:47:22Z")

</div>

Hey @karim,

Thanks for using the dev forum!

Yes, to use your own version of electron with the SDK you will have to follow these steps:

1. Download the protobuf 3.4.0 source file and rename the src folder to protobuf\_src.

2. Copy the src folder into the lib/node\_add\_on folder.

3. Run the build\_nodeaddon script:

- on Windows, please run the `build_noodeaddon_win_ia32.bat`
- on macOS, please run the `build_nodeaddon_mac.sh`

If you would like to use recent versions of protobuf(higher than 3.4.0), in addition to following the above steps, you must also do the following:

1. Download the execution file of the corresponding protobuf and add its directory into the system path.

2. In the terminal, navigate to the root directory of the Electron SDK(same level as the build\_nodeaddon file).

3. Run protoc.exe —js\_out=import\_style=common.js,binary:. lib/electron\_sdk\_proto command in the terminal to generate an electron\_sdk\_pb.js file. After generating this file, you will be able to use the interfaces provided by the Electron SDK.

> [@karim](#):
>
> Also, when running the demo app, I seem to be unable to pass beyond the JWT submission.

Normally, this is caused by an invalid JWT or invalid node/electron versions.  
Verify you have used the exact payload here: [https://marketplace.zoom.us/docs/sdk/native-sdks/auth](https://marketplace.zoom.us/docs/sdk/native-sdks/auth)  
Then verify your node version is v12.16.1 and your electron version is v8.2.4

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![anuragnagarkota](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anuragnagarkota/32/3217_2.png) [@anuragnagarkota](https://devforum.zoom.us/u/anuragnagarkota)\
**Post date:** [July 21, 2021, 11:24am UTC](https://devforum.zoom.us/t/electron-demo-app-run/40173/3 "2021-07-21T11:24:23Z")

</div>

Hi @Michael_Condon  
I am using the following command in windows cmd but it is showing the error “lib/electron\_sdk\_proto: No such file or directory”  
protoc.exe --js\_out=import\_style=common.js,binary:. lib/electron\_sdk\_proto

---

<div class="post-metadata">

**Author:** ![logoforyouimake](https://avatars.discourse-cdn.com/v4/letter/l/f04885/32.png) [@logoforyouimake](https://devforum.zoom.us/u/logoforyouimake)\
**Post date:** [July 26, 2021, 1:31pm UTC](https://devforum.zoom.us/t/electron-demo-app-run/40173/4 "2021-07-26T13:31:41Z")

</div>

HI yea,  
I ran into this problem I think it is a typo it should be electron\_sdk.proto and not underscore proto  
hope that fixes it for you

---

<div class="post-metadata">

**Author:** ![anuragnagarkota](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anuragnagarkota/32/3217_2.png) [@anuragnagarkota](https://devforum.zoom.us/u/anuragnagarkota)\
**Post date:** [August 19, 2021, 7:22am UTC](https://devforum.zoom.us/t/electron-demo-app-run/40173/5 "2021-08-19T07:22:28Z")

</div>

This command run but generated lot of js files at the root of the folder. But it is not generating the electron\_sdk\_pb.js file in lib folder… Why?
