I am new to both Node JS and express, and I have just installed npm in Windows 7.
I have installed express using the global flag:
npm install -g expr
To fix this you need to use:
npm install -g express-generator@3
It has been updated from the previous command:
npm install -g express