ExpressJS - throw er Unhandled error event

前端 未结 30 1960
囚心锁ツ
囚心锁ツ 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:29

    IF it is in mac then it's all about IP of x86_64-apple-darwin13.4.0. If you follow errors it would be something related to x86_64-apple-darwin13.4.0. Add

    127.0.0.1 x86_64-apple-darwin13.4.0

    to /etc/hosts file. Then the problem is gone

提交回复
热议问题