redoc icon indicating copy to clipboard operation
redoc copied to clipboard

Getting error at the time npm start

Open shivkumarsingh7 opened this issue 9 years ago • 2 comments

npm start

[email protected] start /Users/shivam/Sites/ReDoc webpack-dev-server --config build/webpack.dev.js --content-base demo

Error: listen EADDRINUSE 127.0.0.1:9000 at Object._errnoException (util.js:1041:11) at _exceptionWithHostPort (util.js:1064:20) at Server.setupListenHandle [as _listen2] (net.js:1322:14) at listenInCluster (net.js:1370:12) at GetAddrInfoReqWrap.doListen (net.js:1492:7) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:100:10) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] start: webpack-dev-server --config build/webpack.dev.js --content-base demo npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

shivkumarsingh7 avatar Nov 10 '17 14:11 shivkumarsingh7

You have another server or just another instance of redoc dev servers listening 9000 port. Try to restart your computer and try again. If this won't help you can manually change port number in webpack config: https://github.com/Rebilly/ReDoc/blob/master/build/webpack.dev.js#L28

😄

RomanHotsiy avatar Nov 15 '17 07:11 RomanHotsiy

@RomanGotsiy Its work after changing port. Thanx

shivkumarsingh7 avatar Nov 16 '17 08:11 shivkumarsingh7