Description
I am trying to integrate Zoom Web Meeting SDK - Component View into my NextJS application but getting the error mentioned above.
I’ve tried a couple of workarounds like Dynamic Import with no SSR and creating the client inside useEffect(componentDidMount) as mentioned in the solution here. But it is not working.
Browser Console Error
index.js?46cb:323 Uncaught at Object. (file:///Users/pranshu1995/Desktop/Projects/memo-rehab-frontend/node_modules/@zoomus/websdk/dist/zoomus-websdk-embedded.umd.min.js:2:333)
at Module._compile (internal/modules/cjs/loader.js:1072:14)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1101:10)
at Module.load (internal/modules/cjs/loader.js:937:32)
at Function.Module._load (internal/modules/cjs/loader.js:778:12)
at Module.require (internal/modules/cjs/loader.js:961:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object. (file:///Users/pranshu1995/Desktop/Projects/memo-rehab-frontend/node_modules/@zoomus/websdk/embedded.js:3:18)
at Module._compile (internal/modules/cjs/loader.js:1072:14)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1101:10)
I have never used Zoom with NextJS before, but do have quite a bit of experience with NextJS. Where in your code are you calling ZoomMtgEmbedded.createClient()?
Phenomenal! Glad you were able to resolve that issue, and many thanks for sharing your solution here. It will be of great benefit to fellow community members!