1 Reply Latest reply: Sep 16, 2016 1:19 PM by Sarkis Matossian RSS

    Qlik javascript module not loading with RequireJS

    Sarkis Matossian

      My mashup was working, but now I can't get the Qlik javascript file to load correctly.


      I started using RequireJS to load my local libraries, but now it can't find the Qlik javascript at the "js/Qlik" path anymore.  I can find a file using the path "../../resources/js/qlik".  However this file does not export anything from the "define" function, so the Qlik variable is undefined.


      I have not changed the requirejs configuration.


      What is the correct path to the Qlik.js import?


      define(["../../resources/js/qlik"], function(qlik) {         console.log('qlik', qlik); });