Cannot create property "ChatPrivilege"

Video SDK Type and Version
Zoom Video SDK Web version 1.10.7

Description
I am working on a React-Capacitor app with a video call feature. I just updated to 1.10.7 to access the attachVideo feature instead of using a <canvas> element to render remote videos. The problem is when I run the app on Android, the screen only displays white screen.

Error?
The error reads as “TypeError: Cannot create property ‘ChatPrivilege’ on number ‘1.0000000000000007’” I am absolutely stuck as I am not using the ChatClient at all. Only the VideoClient and Stream.

I was able to use the web and mobile local builds earlier this week without any problem so I tried to downgrade to 1.10.0 but there error still persists. Aside from this, ever since my changes were deployed to our test environment, the same error has been there so I am afraid that the upgrade was not the reason of this error.

This was a TypeScript version + babel-loader issue.

How did you resolved this issue? I have no issues run it locally but in production it giving this error.

Could you please share the steps or more details on how we can resolve this issues? Do we need to upgrade any version for the packages required? Please provide some details on the resolution.