Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
lenaig
Partner - Contributor
Partner - Contributor

Define external D3 library gone wrong : Uncaught SyntaxError: Unexpected token '<'

Hello,

I am trying to develop an extension on Qlik Sense with a D3.js library that I found on Github.

I tried to import it that way (line 4) 

vscodedefine.png

When I tried to launch my extension on Qlik Sense Desktop, this is what I got : 

lenaig_0-1622111966808.png

And the error seems to come from the import inside the d3-simple-gauge lib right here at the top of the file:

lenaig_1-1622111993097.png

And I know for a fact that the lib is working. 
I tried so many different things that didn't help to move forward from these error.

Did someone had the same issue ?
Thank you !

0 Replies