l3mpik / slither-feeder-bot

Slither.io FeederBots
MIT License
16 stars 17 forks source link

I got an error #32

Closed David1ali12 closed 8 years ago

David1ali12 commented 8 years ago

/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)

Process exited with code: 1

David1ali12 commented 8 years ago

NVM fixed