1 Reply Latest reply on Nov 23, 2016 4:11 AM by lenaic.ridinger

    Need to use mssql npm package of Node.js

    Omkar Uthale

      Hello,

       

      I want to connect to SQL Server DB via Web Data Connector but to do so I need to import mssql package of Node.js into simulator environment. I tried to write statement require('mssql') after I have installed this package into npm but my script doesn't recognize "require". Is there any way by which I can add this module while starting the simulator? Will it be possible to add this statement into wdc-simulator.js file? Or at any specific config file as such?

       

      Regards