ReferenceError: window is not defined when trying to integrate websdk

Description
I installed and got the sample-app-web running. Then I tried to use websdk in my own app and run into error.

Error
ReferenceError: window is not defined
at Object.<anonymous (/home/anton/ZoomBots/js/node_modules/@zoomus/websdk/dist/zoomus-websdk.umd.min.js:2:504)

Which version?
1.8.3

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. git clone https://github.com/antonprokopovich/ZoomBots.git
  2. cd ZoomBots/js
  3. node index.js

Device:

  • Device: dell g5 5590
  • OS: Ubuntu 18.04.5 LTS (bionic)
  • Browser: Chrome

Additional context
I’m completely new to node and js in general so maybe I’m missing something related to them.

Hey @96anton96mail,

Thank you for reaching out to the Zoom Developer Forum. Our team has recently created a beta sample app that shows how you can use the Zoom Web SDK with react. Please see the following forum post for more details:

Thanks,
Max

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.