Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
rbartley
Specialist II
Specialist II

Enigma.js in mashup - issues with loading schema

Hi everyone,

 

I am trying to use enigma.js to access the Engine API from within a mashup, but am having an issue when trying to specify the schema.

Following the instructions from here https://github.com/qlik-oss/enigma.js/blob/master/docs/api.md#enigmacreateconfig,

I add the line: 

 

const schema = require('../enigma/schemas/12.170.2.json');

 

 but I get an error message in the console:

 

enigma schema error.JPG

I know that the json file is accessible as I can access it directly through my browser, so does anyone have any ideas?

 

Thanks in advance.

Labels (1)
0 Replies