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

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

Hey @a.sawant,

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!

I have this same error

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!

1 Like

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

Thanks!

1 Like

Thanks for posting your solution @nezto!

-Tommy

1 Like

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

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

https://www.google.com/search?q=jquery

-Tommy

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

I see, we will work on fixing this.

Thanks!
-Tommy

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.

1 Like

I agree!

Thanks,
Tommy