Hi,
I am currently using Highcharts in a React project with JavaScript and ESM (ECMAScript Module). While implementing a custom component based on the official example (YouTubeComponent), I encountered the following error:
https://imgur.com/a/ZNCJzZc
Even though this error is displayed, I closed the error message, and the YouTubeComponent was rendered correctly on the dashboard.
https://imgur.com/a/fkKY13w
What could be the possible reasons for this error? Is there a specific setting or adjustment required for using custom components with ESM in React (JavaScript)?