# Zoom Web sdk worked in local but not working in production

**URL:** <https://devforum.zoom.us/t/zoom-web-sdk-worked-in-local-but-not-working-in-production/15516>\
**Category:** Web\
**Created:** [April 29, 2020, 11:59pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-worked-in-local-but-not-working-in-production/15516 "2020-04-29T23:59:10Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![taushifali](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/taushifali/32/2065_2.png) [@taushifali](https://devforum.zoom.us/u/taushifali)\
**Post date:** [May 3, 2020, 2:36pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-worked-in-local-but-not-working-in-production/15516/3 "2020-05-03T14:36:27Z")

</div>

Hi @tommy,  
The error which I faced

 ![Screenshot 2020-04-30 at 3.10.24 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/a/a18ad46bd41f7ad471ebb6bf8b3dabfc4a20fe2f.png)

I have managed to get it work with the solution here:-

> [@ZOOm-JSSDK error](https://devforum.zoom.us/t/zoom-jssdk-error/4456/22):
>
> Hi @tommy, The error which was coming for us, while running web sdk on production:- super expression must either be null or a function, not undefined We have managed to solve this by removing UglifyJsPlugin from webpack config. My dev environment webpack config don’t have UglifyJsPlugin thats why it was working in dev environment. We had optimization block that have UglifyJsPlugin in prod webpack config, and this UglifyJsPlugin is not compatible with the zoom web sdk. Code snippet that was…

Please check why zoom web sdk is not compatible with UglifyJsPlugin(1.2.7 version).

---

_[View the full topic](https://devforum.zoom.us/t/zoom-web-sdk-worked-in-local-but-not-working-in-production/15516)._
