Closed TheSisb closed 9 years ago
You're trying to start the server on a port that is already in use. Try changing the default port in lib\server-development.js
to something other than 8080
.
Yes, I have also faced the same problem while command : .
npm run devThanks to @FoxxMD . Its a problem on the port, nothing else.
I have other program that works on port 8080. webpack-dev-server also wants to use that port by default. So I have just change the port number from 8080 to 8081 (can be anything valid other) in the _ProjectFolder \node_modules\webpack-dev-server\bin\webpack-dev-server.js_ file.
Anothe solution is that you can stop that program working on port 8080.
Thank you :)
I met the same proble and thaks to @masudshrabon ,his comment is so useful.
Same issue and resolved it by changing port number in ProjectFolder \node_modules\webpack-dev-server\bin\webpack-dev-server.js file. @masudshrabon Thanks!
very help ,change the port then it will be good
This is due to port 8080 is in used already. So you can change your development server port which is not in used at the same time.
To change it using CLI,
webpack-dev-server --hot --port=8081
Or add 'port': '8081' in your webpack JS file as follows,
'devServer': {
...
'port': '8081',
...
}
can you guys change the error message, like try another port..
@saikirankv The line "Error: listen EADDRINUSE" actually says exactly that. EADDRINUSE means that the port number is already in use.
same error, but I have no server running
I keep getting errors.
Ran npm install to begin:
When I try starting it:
The contents of the file it tells me to include: