Xyrai opened a new issue, #30241: URL: https://github.com/apache/superset/issues/30241
### Bug description I tried installing the latest version of `@superset-ui/embedded-sdk`. After installation and making use of the package in one of my components I started getting a build error. This seems to be a new issue, since I had it working yesterday on a different repository. The build error: ``` node_modules/esbuild/lib/main.js:1225:21: ERROR: [plugin: vite:dep-pre-bundle] Failed to resolve entry for package "@superset-ui/switchboard". The package may have incorrect main/module/exports specified in its package.json. ``` Package versions: `@superset-ui/embedded-sdk: "0.1.0-alpha.12"` `@superset-ui/switchboard: "0.20.2"` (comes with embedded-sdk). In another repository I am still on `@superset-ui/switchboard: "0.18.26-2"` which seems to work as expected. Node version: 20.11.0 ### How to reproduce the bug Install the latest version of @superset-ui/embedded-sdk on Node version 20.11.0 and make use of it within your page. ### Screenshots/recordings _No response_ ### Superset version master / latest-dev ### Python version 3.10 ### 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. - [X] I have searched the GitHub issue tracker and didn't find a similar bug report. - [X] 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]
