# When i install zoomus-jssdk for my react app, it gets an jquery error

**URL:** <https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224>\
**Category:** Web\
**Created:** [July 28, 2019, 12:39pm UTC](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224 "2019-07-28T12:39:58Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![a.sawant](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/a.sawant/32/1326_2.png) [@a.sawant](https://devforum.zoom.us/u/a.sawant)\
**Post date:** [July 28, 2019, 12:39pm UTC](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/1 "2019-07-28T12:39:59Z")

</div>

./node\_modules/zoomus-jssdk/dist/zoomus-jssdk.umd.min.js:  
Module not found: Can’t resolve ‘jQuery’

---

<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:** [July 29, 2019, 3:32pm UTC](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/2 "2019-07-29T15:32:29Z")

</div>

Hey @a.sawant,

Can you try adding the jQuery CDN to your index.html file?

```auto
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>

```

Let me know if this works!

---

<div class="post-metadata">

**Author:** ![nezto](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nezto/32/1668_2.png) [@nezto](https://devforum.zoom.us/u/nezto)\
**Post date:** [August 26, 2019, 5:34pm UTC](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/3 "2019-08-26T17:34:18Z")

</div>

I have this same error

---

<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:** [August 26, 2019, 5:40pm UTC](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/4 "2019-08-26T17:40:24Z")

</div>

Hey @nezto,

Can you try adding the jQuery CDN to your index.html file?

```auto
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>

```

Let me know if this works!

---

<div class="post-metadata">

**Author:** ![nezto](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nezto/32/1668_2.png) [@nezto](https://devforum.zoom.us/u/nezto)\
**Post date:** [August 27, 2019, 4:19am UTC](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/5 "2019-08-27T04:19:45Z")

</div>

With this line I was able to solve the problem  
ZoomMtg.setZoomJSLib(“[https://source.zoom.us/1.5.0/lib](https://source.zoom.us/1.5.0/lib)”, “/av”)

Thanks!

---

<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:** [August 27, 2019, 3:43pm UTC](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/6 "2019-08-27T15:43:54Z")

</div>

Thanks for posting your solution @nezto!

-Tommy

---

<div class="post-metadata">

**Author:** ![xander.dumaine](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/xander.dumaine/32/1705_2.png) [@xander.dumaine](https://devforum.zoom.us/u/xander.dumaine)\
**Post date:** [August 30, 2019, 1:14pm UTC](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/7 "2019-08-30T13:14:22Z")

</div>

It’s odd that you’re requiring `jQuery` and not `jquery`

---

<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:** [August 30, 2019, 3:43pm UTC](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/8 "2019-08-30T15:43:45Z")

</div>

Hey @xander.dumaine, thanks for the feedback, but jQuery is the correct naming convention.

 ![46%20AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/e/e08ffe5ada296fdc02c7cbaf32deaa177594d5c0.png)

[https://www.google.com/search?q=jquery](https://www.google.com/search?q=jquery)

-Tommy

---

<div class="post-metadata">

**Author:** ![xander.dumaine](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/xander.dumaine/32/1705_2.png) [@xander.dumaine](https://devforum.zoom.us/u/xander.dumaine)\
**Post date:** [August 30, 2019, 4:32pm UTC](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/9 "2019-08-30T16:32:16Z")

</div>

The node package is jquery with no capitalization. In order to build with ‘jQuery’ I had to add a webpack alias.

---

<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:** [August 30, 2019, 4:33pm UTC](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/10 "2019-08-30T16:33:47Z")

</div>

I see, we will work on fixing this.

Thanks!  
-Tommy

---

<div class="post-metadata">

**Author:** ![xander.dumaine](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/xander.dumaine/32/1705_2.png) [@xander.dumaine](https://devforum.zoom.us/u/xander.dumaine)\
**Post date:** [August 30, 2019, 4:34pm UTC](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/11 "2019-08-30T16:34:54Z")

</div>

[https://www.npmjs.com/package/jquery](https://www.npmjs.com/package/jquery) - `require('jQuery')` is incorrect. You shouldn’t alter dependency names to suite how it may be stylized in docs.

---

<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:** [August 30, 2019, 4:40pm UTC](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/12 "2019-08-30T16:40:42Z")

</div>

I agree!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![rik\_y](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rik_y/32/2383_2.png) [@rik\_y](https://devforum.zoom.us/u/rik_y)\
**Post date:** [November 15, 2019, 11:36pm UTC](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/13 "2019-11-15T23:36:01Z")

</div>

When can we expect a new release? Having all sorts of problems with the jquery when trying to use the sdk in my react app. Would really like to get this to work. In the meantime, what is the fix for this? Alias? @xander.dumaine can you share a screenshot.

---

<div class="post-metadata">

**Author:** ![rik\_y](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rik_y/32/2383_2.png) [@rik\_y](https://devforum.zoom.us/u/rik_y)\
**Post date:** [November 17, 2019, 2:29am UTC](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/14 "2019-11-17T02:29:34Z")

</div>

How can I set an alias to get this to work? I tried the following in my reactapp.

```auto
    module.exports = {
    resolve: {
        alias: {
            './node_modules/jQuery':path.resolve(__dirname, './node_modules/jquery')

        }
    }
};

```

---

<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:** [November 18, 2019, 5:45pm UTC](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/15 "2019-11-18T17:45:18Z")

</div>

Hey @rik_y,

Have you tried these two workaround:

> [@When i install zoomus-jssdk for my react app, it gets an jquery error](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/4):
>
> Hey @nezto, Can you try adding the jQuery CDN to your index.html file? \<script src="https://code.jquery.com/jquery-3.4.1.min.js"\>\</script\> Let me know if this works!

> [@When i install zoomus-jssdk for my react app, it gets an jquery error](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/5):
>
> With this line I was able to solve the problem ZoomMtg.setZoomJSLib(“[https://source.zoom.us/1.5.0/lib](https://source.zoom.us/1.5.0/lib)”, “/av”) Thanks!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![New\_Theory](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/new_theory/32/2642_2.png) [@New\_Theory](https://devforum.zoom.us/u/New_Theory)\
**Post date:** [December 18, 2019, 1:25pm UTC](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/16 "2019-12-18T13:25:25Z")

</div>

> [@tommy](#):
>
> ```auto
> <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
> 
> ```

Was getting this error after installing all dependencies and trying to run project for first time. This JQuery CDN solution also fixed this issue, for any others that run into it. Thx Tommy.

 ![Screen Shot 2019-12-18 at 2.23.45 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/6/6b5429811a3202c98dd301d4c2163af29b73f4e3.png)

---

<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:** [December 18, 2019, 6:18pm UTC](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/17 "2019-12-18T18:18:18Z")

</div>

Hey @New_Theory,

Happy to help, and thanks for posting what worked for you! 🙂

-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, 6:58pm UTC](https://devforum.zoom.us/t/when-i-install-zoomus-jssdk-for-my-react-app-it-gets-an-jquery-error/5224/18 "2020-08-21T18:58:45Z")

</div>

Closed on August 21, 2020, 6:58pm UTC


