ThanhDC-ominext opened a new issue, #30207:
URL: https://github.com/apache/superset/issues/30207
### Bug description
I am using "vite": "5.3.1" and "react": "18.3.1",
when I run yarn add @superset-ui/embedded-sdk ("@superset-ui/embedded-sdk":
"^0.1.0-alpha.12") and import it using import { embedDashboard } from
'@superset-ui/embedded-sdk', an error occurs when running yarn dev even though
it worked fine before;
### How to reproduce the bug
1. Run yarn add @superset-ui/embedded-sdk
2. Create a file and import as follows:
- import { embedDashboard } from '@superset-ui/embedded-sdk';
3. Run yarn dev
### Screenshots/recordings



### Superset version
master / latest-dev
### Python version
3.9
### Node version
18 or greater
### Browser
Chrome
### Additional context
_No response_
### Checklist
- [X] I have searched Superset docs and Slack and didn't find a solution to
my problem.
- [ ] I have searched the GitHub issue tracker and didn't find a similar bug
report.
- [ ] I have checked Superset's logs for errors and if I found a relevant
Python stacktrace, I included it here as text in the "additional context"
section.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]