-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JavaScript Embed SDK - Module not found: Can't resolve '@superset-ui/switchboard' #22747
Comments
Duplicate of #22683. The related release workflow can be found here, though failure to publish npm packages has been going on for some weeks I think |
Apologies, that issue did not come up when I searched for it. The temporary fix mentioned in that ticket unfortunately won't work as our CI won't have pre-existing |
@c-kirkeby a workaround you could try is explicitly installing v1.5.0 of yarn add @superset-ui/switchboard@^1.5.0 |
Thanks, that helped! I was able to get around this for the time being by explicitly installing the previous version. |
I believe this was all solved, and was a temporary problem. If anyone is experiencing this in the current version, we can revisit/reopen. |
When I attempt to use the
@superset-ui/embedded-sdk
library in a Next.js application, itHow to reproduce the bug
git clone git@github.com:c-kirkeby/superset-miniral-reproduction.git
pnpm install
ornpm install
(it has lockfiles for both)pnpm run build
ornpm run build
Expected results
Compile without error
Actual results
Environment
(please complete the following information):
18.13.0
(also does not work on16.19.0
)Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
I encountered this while upgrading a Next.js project's dependencies. We hadn't encountered this error previously.
I've also created a minimal reproduction repo with Vite to rule out Next.js being an issue:
https://github.com/c-kirkeby/superset-minimal-reproduction-vite
The text was updated successfully, but these errors were encountered: