0 Replies Latest reply on Jun 4, 2015 7:04 PM by Chris McKinnon

    Invoke server side javascript with node.js

    Chris McKinnon



      I'm using OBIEE and I'm trying to invoke a server-side JavaScript as part of an agent. The trick is I'm using a node.js module in the script. When I run it from the command line the script runs fine, but when running it from OBIEE, I get an error on the line where I declare the variable and set the 'require' statement:


      [nQSError: 66013] [Line:29 Column:1]

      Object expected


      This is line 29 of my code:


      var nodemailer = require('nodemailer');


      Is there any way I can get this to recognize the node.js component so that I can run the script from OBIEE?