TypeError: Ct.createClient is not a function

Hi I am using the zoom meeting websdk and using it’s embedded client as you have also used in your sample vue app in git to join a meeting on front end made in vue and vite as build tool. Everything works fine when I run my web app locally on my system. I am able to join call and do everything i want. but when i make its build and deploy it on server i get the error on my chrome console.
TypeError: Ct.createClient is not a function .

I have tried this on different node versions as well 16 and 14.
Even ,I created a build and deployed it on google firebase hosting. but still facing the same ERROR.
Note: It works fine locally but doesn’t work when a build is made.

Here is the code I am using.
My sdk verison is “@zoomus/websdk”: “2.9.0”,
node version is 14.21.0

import ZoomMtgEmbedded from ‘@zoomus/websdk/embedded’;
const client = ZoomMtgEmbedded.createClient();
client.init({
debug: true,
zoomAppRoot: meetingSDKElement,
language: ‘en-US’,
customize: {
meetingInfo: [‘topic’, ‘host’, ‘mn’, ‘pwd’, ‘telPwd’, ‘invite’, ‘participant’, ‘dc’, ‘enctype’],
toolbar: {
buttons: [
{
text: 'End Call ',
className: ‘CustomButton’,
onClick: () => {
client.endMeeting();

      }
    }
  ]
},
video: {
  isResizable: true,
  viewSizes: {
    default: {
      width: 700,
      height: 500
    },
    ribbon: {
      width: 300,
      height: 700
    }
  }
}

}
});

client.join({
sdkKey: sdkKey,
signature:signature,
meetingNumber: meetingData.id,
password: meetingData.password,
userName: userName,
userEmail: userEmail,
success:()=>{
console.log(“calling successdully joined”);

}
})