Skip to main content
Announcements
See why Qlik was named a Leader in the 2024 Gartner® Magic Quadrant™ for Data Integration Tools for the ninth year in a row: Get the report
cancel
Showing results for 
Search instead for 
Did you mean: 
danverbs
Contributor II
Contributor II

Issue with nebula and NextJs?

Hey all

I'm trying to create a new NextJs project as we're moving on from our current React app and I cannot get nebula to work.

We currently use React v17 (scaffolded by CRA) and connect to our Qlik data via enigma using ticket authentication.

We're moving onto NextJs v14.2.16 using React v18 and, again, connecting to Qlik via enigma (which works as I can retrieve data fine) but anytime I go near nebula I keep getting this error:

Attempted import error: 'embed' is not exported from '@nebula.js/stardust' (imported as 'embed').

I've searched all over and any change to this just changes the message but the same issue I can't seem to get anything imported from stardust.

We've added v5.7.1 of stardust

Anyone have any luck with a similar set up?

Labels (3)
4 Replies
alex_colombo
Employee
Employee

Hey @danverbs , so you are using enigma.js for getting raw data and now you want to use nebula for embedding Qlik visualizations? If so, I reccomend to use qlik-embed for embedding Qlik visualizations.

Are you using Qlik Sense on Windows or SaaS?

danverbs
Contributor II
Contributor II
Author

Yes - we have been using nebula without issue until now. It just seems to not be working in our NextJs project

alex_colombo
Employee
Employee

Ok so your are using nebula.js without issue and now when you try to use it in NextJs project it fails? If so please raise an issue here or on our qlik support site.

As mentioned, nebula.js will be our main library for developing extension object. qlik-embed will be our primary library for embedding.

danverbs
Contributor II
Contributor II
Author

As it happens I already have submitted an issue on the GH repo. This issue doesn't appear when using turbopack though which is odd