Use https://github.com/garrettjoecox/scriptserver-event instead
server.on("start", function() {
console.log("Callback");
})
While in root directory of your server run:
npm install scriptserver-onload
And in your server
file:
server.use(require('scriptserver-onload'));
This module provides the event "onLoad".
server.on("load", function() {
console.log("Callback");
})