-
Notifications
You must be signed in to change notification settings - Fork 16.7k
Closed
Labels
Description
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-0" || "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
- 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.
Reactions are currently unavailable