ReduxSimpleStarter
ReduxSimpleStarter copied to clipboard
npm start - listen EACCES 127.0.0.1:8080
On windows. I execute npm install and then npm start and the following error is displayed:**
[email protected] start C:\wamp64\www\react\ReduxSimpleStarter node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js
events.js:160 throw er; // Unhandled 'error' event ^
Error: listen EACCES 127.0.0.1:8080
at Object.exports._errnoException (util.js:1018:11)
at exports._exceptionWithHostPort (util.js:1041:20)
at Server._listen2 (net.js:1245:19)
at listen (net.js:1294:10)
at net.js:1404:9
at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:62:16)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:81:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js
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.
Same here I get the same error.
same error for me.
It is a conflicted port. Please choose another port to start Redux Simple Starter. Just update a bit in webpack.config.js
:
devServer: {
historyApiFallback: true,
contentBase: './',
port: 3000 // <--- Add this line and choose your own port number
}
then run npm start
again
You are probably killing your process with CTRL-Z, try using CTRL-C. It will send a SIGINT that will end your program the right way, unbinding your process from any ports it is listening on.
Just choose a different port in webpack.config.js
yeah..started server
Yes it is port issue, thank you guys
It is a conflicted port. Please choose another port to start Redux Simple Starter. Just update a bit in
webpack.config.js
:devServer: { historyApiFallback: true, contentBase: './', port: 3000 // <--- Add this line and choose your own port number }
then run
npm start
again
Cool it worked out. Thanks
You can stop your IIS server from windows machines and its default port is :8080 then your problem solved.
It is a conflicted port. Please choose another port to start Redux Simple Starter. Just update a bit in
webpack.config.js
:devServer: { historyApiFallback: true, contentBase: './', port: 3000 // <--- Add this line and choose your own port number }
then run
npm start
again
thank you. that cool!