Thanks.
I just tried to run the helloworld example and it gave me an error.
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'connect'
at Function._resolveFilename (module.js:320:11)
at Function._load (module.js:266:25)
at require (module.js:348:19)
at Object.<anonymous> (/Users/Kong_iMac/workspace-node/express/lib/express.js:13:15)
at Module._compile (module.js:404:26)
at Object..js (module.js:410:10)
at Module.load (module.js:336:31)
at Function._load (module.js:297:12)
at require (module.js:348:19)
at Object.<anonymous> (/Users/Kong_iMac/workspace-node/express/examples/helloworld/app.js:6:15)
I have a feeling that if I did npm install -d this would run fine. I'm guessing that npm does some global magic that makes everything work nicely?
Something to do with the node_modules folder in /usr/local/lib ?
Thanks again.