I am unable to connect to the PM2 instance through API.
following is the code
var pm2 = require(\'pm2\'); console.log(\'pm2 \', pm2); pm2.connect(functi