-
Notifications
You must be signed in to change notification settings - Fork 55
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
Attempted import error: 'embed' is not exported from '@nebula.js/stardust' (imported as 'embed') #1635
Comments
Just an extra note - if I run this with turbopack '--turbo' added to the dev script, it runs fine and the chart renders as expected. Without --turbo it doesn't load at all |
I've managed to narrow down the latest working version in our project. We're using Next so having to dynamically import the libraries so we don't get any client-side requirement errors:
Everything works up to v4.2.4, however every version from v4.3.0 onwards gives us the Attempted import error: 'embed' is not exported from '@nebula.js/stardust' error Were there any changes to the embed import we need to be aware of/implement a change in how we import? Other things we tried: Are there plans to make this nextjs compatible? Happy to discuss/share code as needed |
Hello, sorry for not answering sooner. |
I did a test run now with a bare-bones next.js app, no issues from what I can see when simply runnig it. |
That's interesting... I'll see if I can get something reproducible in a sandbox |
🐛 Bug report
I'm trying to implement nebula in my NextJs 14 app but I cannot get the package to run at all I keep getting this error:
Attempted import error: 'embed' is not exported from '@nebula.js/stardust' (imported as 'embed')
Steps to Reproduce
Expected behavior
I've used the same process using a non-NextJs app (React v17) which works fine
Is this an issue with Next, React version or something else?
The text was updated successfully, but these errors were encountered: