I am getting this error. Any help would be appreciated.
/home/frank/nomp/libs/stats.js:560
var portalApi = new api(logger, portalConfig, poolConfigs);
^
TypeError: object is not a function
at new module.exports (/home/frank/nomp/libs/stats.js:560:21)
at new module.exports (/home/frank/nomp/libs/api.js:11:36)
at new module.exports (/home/frank/nomp/libs/website.js:29:21)
at Object. (/home/frank/nomp/init.js:80:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
2014-12-05 02:21:29 [Master] [Website] Website process died, spawning replacement...