Express "Hello World" Issue
Got Node (v0.4.1) and Express (1.0.7) installed via npm. Node seems to be working fine with the "hello world" app, but as soon as I try to run a server using the Express example, I get an error. Thoughts?
node.js:116
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Cannot read property 'prototype' of undefined
at Object.
you are trying to use connect 1.0 with express 1.0.7. express 1.x will not work well with node 0.2.x
Sorry, a bit confused by that response. I have node 0.4.x, not 0.2.x.
Based on your observation above, what should I be updating?
Ah nevermind, after reading the google groups, looks like express 1.x is not compatible with node 0.4.x. Sorry for the trouble. Will be looking forward forward to v2!
np :) it did kinda work but yeah it was not meant for 0.4.x support