I am newbie with node and express
I created a express sample project by first writing
express test1
npm install
Error: ENOENT, open
'/home/test1/node_modules/express/node_modules/connect/node_modules/static-favicon/../public/favicon.ico'
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.