io.configure error

miketiv 6 years ago 0
Hi. I've gone through all of the installation steps, but when I run "node socketbug_server.js" I get:

io.configure('production', function () {
TypeError: Object #<Server> has no method 'configure'
at C:\Users\Mike Traficante\Documents\socketsrv\socketbug_server.js:121:6
at Object.<anonymous> (C:\Users\Mike Traficante\Documents\socketsrv\socketbug_server.js:684:3)
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)
at node.js:906:3

I'm running Windows 7 64bit. Any idea what I've done wrong?