./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!
With this line I was able to solve the problem
ZoomMtg.setZoomJSLib(“https://source.zoom.us/1.5.0/lib”, “/av”)
Thanks!
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.
I agree!
Thanks,
Tommy
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.
How can I set an alias to get this to work? I tried the following in my reactapp.
module.exports = {
resolve: {
alias: {
'./node_modules/jQuery':path.resolve(__dirname, './node_modules/jquery')
}
}
};
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.