-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webex SDK 3.3.1 | TypeError: Cannot read properties of undefined (reading 'internal') #3757
Comments
Also FYI: I don't think it has anything to do with the Vue framework, I tried with React. its the same issue. |
Hello @vishalyadaviit, Before directly trying on your code, you could check the same on Webex JS SDK latest sample here - https://webex.github.io/webex-js-sdk/samples/browser-plugin-meetings/ and just check if you're able to initialize it. hope that helps! Regards! |
Hi @sandiban , I checked using the above sample site, it seems to be working fine on this site. however working with vuejs or reactjs it doesn't work. "kindly confirm the Webex Account under which that Token belongs to." |
@vishalyadaviit thanks for reporting this issue. The error you're reporting is currently a warning. It shouldn't stop you from joining the meeting. Please look at the kitchen sink app here as you've observed correctly, that the error doesn't stop the meeting from going through. This is more of an issue on the way the component you've written is handling the initialization. The failure of the meeting preferences is also not a problem. It is expected for users who don't have the right scopes in their access token to see this. This shouldn't stop the entire webex object from initializing. |
To follow up on this, I'm attempting to continue Vishal's initial work and upgrade us to 3.3.1 using a CDN link. I have this initial code. The token works fine on const webex = window.Webex.init({
When I use the access token and meeting_sip on https://webex.github.io/webex-js-sdk/samples/browser-plugin-meetings/ it all seems to work. Locally I get a series of errors when trying to create a meeting: this.meetingInfo is undefined when I try to create the meeting. What would cause this? |
Webex SDK throwing | TypeError: Cannot read properties of undefined (reading 'internal')
Somehow the this loses the scope it has initially.
To Reproduce
<script crossorigin src="https://unpkg.com/[email protected]/umd/webex.min.js"></script>Node Version: v20.12.2
UI Framework: Vue: v3.4.29
Webex SDK: v3.3.1
Steps to reproduce the behavior:
Application is breaking at this step in Webex SDK.
Expected behavior
It should successfully register the sdk. I'm passing a valid access_token.
Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: