# Cannot import { ZoomMtg } from '@zoomus/websdk' on client side code

**URL:** <https://devforum.zoom.us/t/cannot-import-zoommtg-from-zoomus-websdk-on-client-side-code/34183>\
**Category:** Web\
**Created:** [October 24, 2020, 5:58am UTC](https://devforum.zoom.us/t/cannot-import-zoommtg-from-zoomus-websdk-on-client-side-code/34183 "2020-10-24T05:58:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![williamwang15](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/williamwang15/32/12034_2.png) [@williamwang15](https://devforum.zoom.us/u/williamwang15)\
**Post date:** [October 24, 2020, 5:58am UTC](https://devforum.zoom.us/t/cannot-import-zoommtg-from-zoomus-websdk-on-client-side-code/34183/1 "2020-10-24T05:58:37Z")

</div>

**Description**  
I’m trying to integrate zoom in my own web app (a simple node.js app). But `import { ZoomMtg } from '@zoomus/websdk';` doesn’t work on client side with the error from browser “Uncaught SyntaxError: Cannot use import statement outside a module”.

**Error**  
Error from browser: “Uncaught SyntaxError: Cannot use import statement outside a module”.

**Which version?**  
1.8.1

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

1. `import { ZoomMtg } from '@zoomus/websdk';` on client.js (vs. server.js)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [October 27, 2020, 4:20pm UTC](https://devforum.zoom.us/t/cannot-import-zoommtg-from-zoomus-websdk-on-client-side-code/34183/2 "2020-10-27T16:20:15Z")

</div>

Hey @williamwang15,

Have you tried googling this error yet?

> <https://stackoverflow.com/questions/58211880/uncaught-syntaxerror-cannot-use-import-statement-outside-a-module-when-import/58212338#58212338>

You can also use the [CDN version](https://marketplace.zoom.us/docs/sdk/native-sdks/web/build#option-2-import-through-cdn) if you do not have a bundler / webpack project (react, angular, vue).

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [November 27, 2020, 2:20am UTC](https://devforum.zoom.us/t/cannot-import-zoommtg-from-zoomus-websdk-on-client-side-code/34183/3 "2020-11-27T02:20:16Z")

</div>

Closed on November 27, 2020, 2:20am UTC

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