There's no need to use relative paths here - you should just use require('webinos-widget').

Also, I'm not sure this is the correct place for this code - wouldn't it make more sense to do this in the webinos-widgetServer module (in the start() method) ?