I installed and got the sample-app-web running. Then I tried to use websdk in my own app and run into 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)
To Reproduce(If applicable)
Steps to reproduce the behavior:
- git clone https://github.com/antonprokopovich/ZoomBots.git
- cd ZoomBots/js
- node index.js
- Device: dell g5 5590
- OS: Ubuntu 18.04.5 LTS (bionic)
- Browser: Chrome
I’m completely new to node and js in general so maybe I’m missing something related to them.