ExpressJS - throw er Unhandled error event

前端 未结 30 1914
囚心锁ツ
囚心锁ツ 2020-12-12 09:30

I created expressjs application using the following commands:

express -e folderName
npm install ejs --save
npm install

When I run the appli

30条回答
  •  既然无缘
    2020-12-12 10:32

    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.

    You can check PORT no. is available or not using

    netstat -tulnp | grep 
    

    Alternatively, you can use lsof:

    lsof -i :
    

提交回复
热议问题