Search Posts

Category: nodemon

throw er; // Unhandled ‘error’ event – NodeJS

Environment NodeJS Description I’m trying to run my Node application. npm run start I kept getting > [email protected] start /Users/bheng/Sites/BASE/api > nodemon ./bin/index.js -w server [nodemon] 1.11.0 [nodemon] to restart at any time, enter `rs` [nodemon] watching: /Users/bheng/Sites/BASE/api/server/**/* [nodemon] starting `node ./bin/index.js` events.js:160 throw er; // Unhandled ‘error’ event ^ Error: listen EADDRINUSE :::8000 at Object.exports._errnoException (util.js:1018:11) at exports._exceptionWithHostPort (util.js:1041:20) at Server._listen2 (net.js:1258:14) at listen (net.js:1294:10) at Server.listen (net.js:1390:5) at EventEmitter.listen (/Users/bheng/Sites/BASE/api/node_modules/express/lib/application.js:618:24) at Object.<anonymous> (/Users/bheng/Sites/BASE/api/bin/index.js:8:5) […]