I wrote my first node.js app, but it can\'t find express library:
C:\\ChatServer\\Server>node server.js
module.js:340
throw err;
^
Error: C
Golo have explain well the solution, but I might add a clarification:
sometimes node modules are installed in
/usr/local/lib/node_modules
and when you launch node blabla.js modules are searched in
/lib
So a solution is to create a symbolic link:
sudo ln -s /usr/local/lib/node_modules/ /lib/node_modules