I\'m getting an error when trying to use any global module, exemple:
Error: Cannot find module \'express\' at Function.Module._resolveFilename (module.js:
You should install Express locally:
npm install express
Then require it as you did:
var express = require('express')