# Before I completely give up on the Web SDK

**URL:** <https://devforum.zoom.us/t/before-i-completely-give-up-on-the-web-sdk/19148>\
**Category:** Web\
**Created:** [May 26, 2020, 7:11pm UTC](https://devforum.zoom.us/t/before-i-completely-give-up-on-the-web-sdk/19148 "2020-05-26T19:11:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![someGuy](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@someGuy](https://devforum.zoom.us/u/someGuy)\
**Post date:** [May 26, 2020, 7:11pm UTC](https://devforum.zoom.us/t/before-i-completely-give-up-on-the-web-sdk/19148/1 "2020-05-26T19:11:12Z")

</div>

Has anyone gotten the SDK to run inside of a Gatsby or ReactJS for that matter? I’ve gone through the docs and forum, but I’m just not able to get this to work. What I wouldn’t give for a clear step by step tutorial right about now… ☹ Or even better, iFrame support.

**Description**  
After install (via npm) @zoomus/websdk and dependencies, putting bootstrap, jquery, react-select.css stylesheets in, and then placing import { ZoomMtg } from “@zoomus/websdk” into my component. I get errors without trying to do anything more. If I comment out the import, there are no errors.

**Error**  
Uncaught ReferenceError: $ is not defined  
at Object. (zoomus-websdk.umd.min.js:2)  
at n (zoomus-websdk.umd.min.js:2)  
at Object. (zoomus-websdk.umd.min.js:2)  
at n (zoomus-websdk.umd.min.js:2)  
at Object. (zoomus-websdk.umd.min.js:2)  
at n (zoomus-websdk.umd.min.js:2)  
at Object. (zoomus-websdk.umd.min.js:2)  
at n (zoomus-websdk.umd.min.js:2)  
at Object. (zoomus-websdk.umd.min.js:2)  
at n (zoomus-websdk.umd.min.js:2)  
at Module. (zoomus-websdk.umd.min.js:2)  
at n (zoomus-websdk.umd.min.js:2)  
at Module. (zoomus-websdk.umd.min.js:2)  
at n (zoomus-websdk.umd.min.js:2)  
at Object. (zoomus-websdk.umd.min.js:2)  
at n (zoomus-websdk.umd.min.js:2)  
at Object. (zoomus-websdk.umd.min.js:2)  
at n (zoomus-websdk.umd.min.js:2)  
at Object. (zoomus-websdk.umd.min.js:2)  
at n (zoomus-websdk.umd.min.js:2)  
at Module. (zoomus-websdk.umd.min.js:2)  
at n (zoomus-websdk.umd.min.js:2)  
at Object. (zoomus-websdk.umd.min.js:2)  
at n (zoomus-websdk.umd.min.js:2)  
at zoomus-websdk.umd.min.js:2  
at zoomus-websdk.umd.min.js:2  
at zoomus-websdk.umd.min.js:2  
at Object…/node\_modules/@zoomus/websdk/dist/zoomus-websdk.umd.min.js (zoomus-websdk.umd.min.js:2)  
at **webpack\_require** (bootstrap:725)  
at fn (bootstrap:100)  
at Object…/node\_modules/@zoomus/websdk/index.js (index.js:3)  
at **webpack\_require** (bootstrap:725)  
at fn (bootstrap:100)  
at Module. (jitsi.js:28)  
at Module…/src/components/app/vidConference/zoom.js (zoom.js:260)  
at **webpack\_require** (bootstrap:725)  
at fn (bootstrap:100)  
at Module. (socket.js:163)  
at Module…/src/components/app/vidConference/\_vidConference.js (\_vidConference.js:206)  
at **webpack\_require** (bootstrap:725)  
at fn (bootstrap:100)  
at Module. (zoom.js:260)  
at Module…/src/components/app/window.js (window.js:229)  
at **webpack\_require** (bootstrap:725)  
at fn (bootstrap:100)  
at Module. (volume.js:42)  
at Module…/src/components/app/desktop.js (desktop.js:85)  
at **webpack\_require** (bootstrap:725)  
at fn (bootstrap:100)  
at Module. (\_entry.js:135)

- Browser Chrome

Thanks

---

<div class="post-metadata">

**Author:** ![infra](https://avatars.discourse-cdn.com/v4/letter/i/f4b2a3/32.png) [@infra](https://devforum.zoom.us/u/infra)\
**Post date:** [May 26, 2020, 7:55pm UTC](https://devforum.zoom.us/t/before-i-completely-give-up-on-the-web-sdk/19148/2 "2020-05-26T19:55:37Z")

</div>

I had the same problem today. It seens that jquery it needed on a global scope. I fixed it by adding this.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/d/df2919cb3f62f2c7b02a2dd01a7ec75c2998c96f.png)

---

<div class="post-metadata">

**Author:** ![jbonifaci](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jbonifaci/32/9508_2.png) [@jbonifaci](https://devforum.zoom.us/u/jbonifaci)\
**Post date:** [May 29, 2020, 9:23pm UTC](https://devforum.zoom.us/t/before-i-completely-give-up-on-the-web-sdk/19148/3 "2020-05-29T21:23:23Z")

</div>

Yah, the react experience isn’t great, but you can get it to work. @someGuy, did including jquery as @infra suggested get it working for you (it should have gotten you buy your current hurdle)? Did you run into anything else after?

---

<div class="post-metadata">

**Author:** ![someGuy](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@someGuy](https://devforum.zoom.us/u/someGuy)\
**Post date:** [May 29, 2020, 9:51pm UTC](https://devforum.zoom.us/t/before-i-completely-give-up-on-the-web-sdk/19148/4 "2020-05-29T21:51:55Z")

</div>

jbonifaci, yes, it did get rid of that error. Thanks. And thanks infra for pointing me in the right direction! 🙂

That unfortunately wasn’t the end of my troubles. I don’t even recall exactly what my issues were to be honest. I decided that I had already put too much time into the SDK, and went with another solution. I’ll check back here in the future to see if there is a React example I can follow.

Thanks

---

<div class="post-metadata">

**Author:** ![jbonifaci](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jbonifaci/32/9508_2.png) [@jbonifaci](https://devforum.zoom.us/u/jbonifaci)\
**Post date:** [May 29, 2020, 10:07pm UTC](https://devforum.zoom.us/t/before-i-completely-give-up-on-the-web-sdk/19148/5 "2020-05-29T22:07:47Z")

</div>

Yah, it was a bit troublesome to get to work, but it was doable. It sounds like there is a new major version coming out some time between now and next year (el oh el) that will be a bit more friendly than the current version. But if you decide to give the current version another try, it’s definitely doable, don’t be afraid to ask more questions here or dm me if you want (I would hope that sends me some sort of notification, as I’m new to this forum).

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 3, 2020, 7:36pm UTC](https://devforum.zoom.us/t/before-i-completely-give-up-on-the-web-sdk/19148/6 "2020-06-03T19:36:43Z")

</div>

Hey @jbonifaci, @someGuy,

We are working to release a react sample app soon. 🙂

Also in our next release, [jQuery will no longer be a required dependency.](https://marketplace.zoom.us/docs/guides/stay-up-to-date/upcoming-changes/web-sdk)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 3, 2020, 7:36pm UTC](https://devforum.zoom.us/t/before-i-completely-give-up-on-the-web-sdk/19148/7 "2020-06-03T19:36:54Z")

</div>

Thanks for your solution @infra! 🙂

-Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:50pm UTC](https://devforum.zoom.us/t/before-i-completely-give-up-on-the-web-sdk/19148/8 "2020-08-21T21:50:16Z")

</div>

Closed on August 21, 2020, 9:50pm UTC


