11 Replies Latest reply: Jan 8, 2018 7:05 AM by Yianni Ververis RSS

    QlikBotNode - problem with constructor

    Jacek Wałaszek

      Hello Pioneers,

      I try to test your great project but I get stuck. The application can’t create constructor site.telegram.

      {"date":"Fri Jan 05 2018 13:05:18 GMT+0100 (Romance Standard Time)","process":{"pid":2436,"uid":null,"gid":null,"cwd":"C:\\QS_Tools\\QlikBotNode-master","execPath":"C:\\Program Files\\nodejs\\node.exe","version":"v8.9.4","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\QS_Tools\\QlikBotNode-master\\app\\server\\server.js"],"memoryUsage":{"rss":34676736,"heapTotal":19243008,"heapUsed":12784952,"external":401315}},"os":{"loadavg":[0,0,0],"uptime":1089.0281039},"trace":[{"column":12,"file":"C:\\QS_Tools\\QlikBotNode-master\\app\\server\\routes\\api\\sense-bot\\telegram.js","function":null,"line":20,"method":null,"native":false},{"column":30,"file":"module.js","function":"Module._compile","line":643,"method":"_compile","native":false},{"column":10,"file":"module.js","function":"Module._extensions..js","line":654,"method":".js","native":false},{"column":32,"file":"module.js","function":"Module.load","line":556,"method":"load","native":false},{"column":12,"file":"module.js","function":"tryModuleLoad","line":499,"method":null,"native":false},{"column":3,"file":"module.js","function":"Module._load","line":491,"method":"_load","native":false},{"column":17,"file":"module.js","function":"Module.require","line":587,"method":"require","native":false},{"column":18,"file":"internal/module.js","function":"require","line":11,"method":null,"native":false},{"column":16,"file":"C:\\QS_Tools\\QlikBotNode-master\\app\\server\\routes\\api\\sense-bot.js","function":null,"line":11,"method":null,"native":false},{"column":30,"file":"module.js","function":"Module._compile","line":643,"method":"_compile","native":false}],"stack":["TypeError: site.telegram is not a constructor","    at Object.<anonymous> (C:\\QS_Tools\\QlikBotNode-master\\app\\server\\routes\\api\\sense-bot\\telegram.js:20:12)"," at Module._compile (module.js:643:30)","    at Object.Module._extensions..js (module.js:654:10)","    at Module.load (module.js:556:32)","    at tryModuleLoad (module.js:499:12)","    at Function.Module._load (module.js:491:3)","    at Module.require (module.js:587:17)","    at require (internal/module.js:11:18)","    at Object.<anonymous> (C:\\QS_Tools\\QlikBotNode-master\\app\\server\\routes\\api\\sense-bot.js:11:16)"," at Module._compile (module.js:643:30)"],"level":"error","message":"uncaughtException: site.telegram is not a constructor","timestamp":"8:5}"}

      jvs, could you give me advice what I should check more?

      Thank in advance
      Jacek.