I created expressjs application using the following commands:
express -e folderName npm install ejs --save npm install
When I run the appli
You had run another server use the same port like 8080.
Maybe you had run node app in other shell, Please close it and run again.
node app
You can check PORT no. is available or not using
netstat -tulnp | grep
Alternatively, you can use lsof:
lsof -i :