loading...

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

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 :)