Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

node app.js not work #39

Open
amdgigabyte opened this Issue Jun 24, 2011 · 0 comments

Comments

Projects
None yet
1 participant

after i installed node v0.4.8,npm 1.0.14,wheat,and then download howtonode.org to my local path and set the .listen(3000),but when i use node app.js to start the site,error happens
node.js:134
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 'conditionalGet'
at Object. (/Users/amdgigabyte/Sites/howtonode.org/app.js:6:11)
at Module._compile (module.js:407:26)
at Object..js (module.js:413:10)
at Module.load (module.js:339:31)
at Function._load (module.js:298:12)
at Array. (module.js:426:10)
at EventEmitter._tickCallback (node.js:126:26)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment