Error while running.
I was trying to run the tic tac toe game but got this error.
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Object function createServer() {
if ('object' == typeof arguments[0]) {
return new HTTPSServer(arguments[0], Array.prototype.slice.call(arguments, 1));
} else {
return new HTTPServer(Array.prototype.slice.call(arguments));
}
} has no method 'staticProvider'
at Object.
I'm missing something? I have installed all the required modules.
Chirag: You will have to edit the server.js file
Online 143 or 144 you will find a connect.staticProvider({blah-blah..
Change it to this: connect.static({blah-blah..
That should get it working