5 Replies Latest reply: Apr 1, 2018 4:06 AM by Ajay Kakkar RSS

    npm node library in Qlik sense visual extension

    Marko Zadravec

      Hi,

       

      I would like to include Request library in my extension.

       

      I know that Qlik Sense use RequireJS for bringing resources in extension.

      So I did something like this:

       

      define([

              "jquery",

              "request"

          ],

          function(jq, request) {

      ......

           });

       

       

      But I get (in browser - developer tools) error :

      Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:4848/resources/request.js?.....

       

      I did do:

      npm install request

      inside my_extension folder.

       

      What I am doing wrong?