# Zom Web SDK join() function not called in VueJS (Webpack)

**URL:** <https://devforum.zoom.us/t/zom-web-sdk-join-function-not-called-in-vuejs-webpack/22312>\
**Category:** Web\
**Created:** [June 25, 2020, 7:55am UTC](https://devforum.zoom.us/t/zom-web-sdk-join-function-not-called-in-vuejs-webpack/22312 "2020-06-25T07:55:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![susankya](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/susankya/32/10935_2.png) [@susankya](https://devforum.zoom.us/u/susankya)\
**Post date:** [June 25, 2020, 7:55am UTC](https://devforum.zoom.us/t/zom-web-sdk-join-function-not-called-in-vuejs-webpack/22312/1 "2020-06-25T07:55:31Z")

</div>

**Description**  
I tried using the NPM version of Zoom SDK. Everything is fine, no errors in the console, but all I see is black screen. The init() function is called successfully, but the join() function is never invoked, and an error message is not shown either.

I definitely believe this is some kind of an issue with Web SDK and Webpack.

I can also confirm I have successfully called the methods

ZoomMtg.preLoadWasm();

ZoomMtg.prepareJssdk();

And followed all steps accurately. I’m still unable to get past the black screen.

**Error**  
Black screen, join() function is never invoked

**Which version?**  
Zoom Web SDK 1.7.8

**Device**

- Device: Laptop
- OS: Ubuntu
- Version: 17.10
- Browser: Chrome  
(This is not an OS specific issue, it happened with MacOS as well as Windows)

**Additional context**  
My code is below:

```
     ZoomMtg.init({
          leaveUrl: "http://www.zoom.us",
           isSupportAV: true,
          success: () => {
            console.log(this.signature)
        
        ZoomMtg.join({
          meetingNumber: this.meetConfig.meetingNumber,
          signature: this.signature,
          apiKey: this.meetConfig.apiKey,
          userName:'Test',
          role: 0,
          passWord: this.meetConfig.password,
          success: function(res) {
            console.log("join meeting success");
          },
          error: function(res) {
            console.log(res);
            console.log("error")
          }
        });
      },
      error: function(res) {
        console.log(res);
        console.log("error")
      }
    });
```

---

<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:** [June 26, 2020, 5:29pm UTC](https://devforum.zoom.us/t/zom-web-sdk-join-function-not-called-in-vuejs-webpack/22312/2 "2020-06-26T17:29:26Z")

</div>

Hey @susankya,

I am guessing the `ZoomMtg.preLoadWasm();` and `ZoomMtg.prepareJssdk();` files are not being loaded properly.

As a test, can you try adding the following line above where you call those functions:

```auto
ZoomMtg.setZoomJSLib('https://dmogdx0jrul3u.cloudfront.net/1.7.8/lib', '/av'); 

```

If that fixes the issue, make sure your path to the Web SDK files in node\_modules is correct:

> **[@zoomus/websdk](https://www.npmjs.com/package/@zoomus/websdk#usage)**
>
> Zoom Web SDK

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 10:28pm UTC](https://devforum.zoom.us/t/zom-web-sdk-join-function-not-called-in-vuejs-webpack/22312/3 "2020-08-21T22:28:16Z")

</div>

Closed on August 21, 2020, 10:28pm UTC


