I am newbie with node and express
I created a express sample project by first writing
express test1
then i did
np
Append this line into the initialization section of your app.js:
app.use(favicon(__dirname + '/public/favicon.ico'));
I assume that app.js is in the project directory and favicon file is at public/favicon.ico also relative to the project folder.