/home/ubuntu/workspace/slither-feeder-bot/server.js:5
var io = require('socket.io')(http);
^
TypeError: require(...) is not a function
at Object. (/home/ubuntu/workspace/slither-feeder-bot/server.js:5:30)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.runMain as _onTimeout
at Timer.listOnTimeout (timers.js:92:15)
/home/ubuntu/workspace/slither-feeder-bot/server.js:5
var io = require('socket.io')(http);
^
TypeError: require(...) is not a function (/home/ubuntu/workspace/slither-feeder-bot/server.js:5:30)
at Object.
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.runMain as _onTimeout
at Timer.listOnTimeout (timers.js:92:15)
Process exited with code: 1