loading...

Discussion on: Got a "TypeError: 'get peerIdentity'" in EmberJS and not in Svelte. Do you know why?

Collapse
cescquintero profile image
Francisco Quintero 🇨🇴 Author

Hello again!

Just tried (couldn't wait until the night) and your approach worked. Still the error happens but the component doesn't stop working.

Thanks a lot! 👍🏽

Collapse
abhilashlr profile image
abhilashlr

Would it be possible for you to share a gist of what you had tried?

Thread Thread
cescquintero profile image
Francisco Quintero 🇨🇴 Author

In the components where the importing was failing I did:

-const Video = Twilio.Video;
+import * as Video from 'twilio-video/dist/twilio-video';

And then kept using the library as normal.

Thread Thread
abhilashlr profile image
abhilashlr

And which method are you trying to use? Is it possible to share a github gist?

Thread Thread
cescquintero profile image
Thread Thread
abhilashlr profile image
abhilashlr

I tried this, and without the util imported in the component, things seem to work for me. I'm trying this in Ember 3.17+ app. Maybe something in the util is causing this issue?

Thread Thread
cescquintero profile image
Francisco Quintero 🇨🇴 Author

Interesting 🤔. Gonna give it a try.

Thread Thread
abhilashlr profile image
abhilashlr

Sure, let me know how it goes :)