When I try to run the app.js file created by express, I get the following error:
app.js
$ node app.js node.js:134 throw e; // process.nextTick
It looks like the easiest way to do this is to run npm install from your app's folder. This tells npm to hook everything up.
npm install
It's the last instruction after express :
express
... dont forget to install dependencies: $ cd && npm install