Skip to main content
Announcements
Jan 15, Trends 2025! Get expert guidance to thrive post-AI with After AI: REGISTER NOW
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