I am new to Node.js, try to learn express to build my first web application. I got stuck on my very first sample code and need some help to get it running. Before I post th
Check if you have installed express module. If not, use this command:
express
npm install express
and if your node_modules directory is in another place, set NODE_PATH envirnment variable:
node_modules
NODE_PATH
set NODE_PATH=your\directory\to\node_modules;%NODE_PATH%