whereby / sdk

MIT License
12 stars 4 forks source link

Issue using Whereby as a web component in an Angular application #497

Open felicioandre opened 4 days ago

felicioandre commented 4 days ago

Hi team,

I'm facing an issue while trying to incorporate the Whereby browser-sdk into my Angular application as a web component.

I'm importing it using the following syntax: import '@whereby.com/browser-sdk/embed';

However, my bundler is throwing an error indicating that React is not installed. I find this odd since web components are supposed to be self-contained, and this dependency shouldn't be required.

I've attached a screenshot of the error for your reference.

image

Could you please provide some guidance on how to resolve this issue? I've ensured that all necessary dependencies are installed and configured correctly.

Thank you for your assistance.