npm start fails (webpack-dev-server issue ?)
That's the error i'm getting. Any idea how to get past this ?

Solved : sudo apt-get install nodejs-legacy
The following set of issues was due to another site running on port 8080 which was my oversight. I will keep this comment here in case someone else runs into the same issue
Under Windows 7 with node and npm up to date, I get the following error when running npm start. Anyone got around this issue?
c:\Projects\ReduxSimpleStarter>npm start
[email protected] start c:\Projects\ReduxSimpleStarter node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js
events.js:154 throw er; // Unhandled 'error' event ^
Error: listen EACCES 127.0.0.1:8080 at Object.exports._errnoException (util.js:890:11) at exports._exceptionWithHostPort (util.js:913:20) at Server.__dirname.Server.Server._listen2 (net.js:1217:19) at listen (net.js:1266:10) at net.js:1375:9 at GetAddrInfoReqWrap.asyncCallback as callback at GetAddrInfoReqWrap.onlookup as oncomplete
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_mod
ules\npm\bin\npm-cli.js" "start"
npm ERR! node v5.10.1
npm ERR! npm v3.8.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: node ./node_modules/webpack-dev-server/bin/webpack-dev-s erver.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'node ./node_modules/webpack-dev-serv
er/bin/webpack-dev-server.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the redux-simple-starter package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs redux-simple-starter
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls redux-simple-starter
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! c:\Projects\ReduxSimpleStarter\npm-debug.log
Awesome, glad you found the solution, going to leave this issue up for others
I think I got another issue
> [email protected] start C:\laragon\www\react\ReduxSimpleStarter
> node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js
/
module.js:340
throw err;
^
Error: Cannot find module 'accepts'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (C:\laragon\www\react\ReduxSimpleStarter\node_modules\webpack-dev-server\node_modules\compress
ion\index.js:17:15)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
-
npm ERR! [email protected] start: `node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is most likely a problem with the redux-simple-starter package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js
npm ERR! You can get their info via:
npm ERR! npm owner ls redux-simple-starter
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js"
"start"
npm ERR! cwd C:\laragon\www\react\ReduxSimpleStarter
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\laragon\www\react\ReduxSimpleStarter\npm-debug.log
npm ERR! not ok code 0
I'm on windows 10 and I've tried using node-v0.10.29-x64 and node-v4.4.5-x64
I've tried netstat -a
and no one using port 8080
@terhubungdev rerun 'npm install'
the problem might be that your port 8080 is being used by another service you can use port forward.com to see if thats the case if yes try and then use a different port
Try to put "module.exports = config;" at the end of webpack.config.js file. That might solve your problem
Hello Friends I am getting this error when I am trying to execute npm start on ReduxSimpleStarter.Appreciate your help. I did verify that port 80 is not in use. I am using windows 7 home edition. Regards cvas
$ npm start
[email protected] start C:\Working\Examples\ReactExamples\UdemyAdvancedCourse\ClientSideAuthentication 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! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
npm ERR! node v6.10.3
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
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 'node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the redux-simple-starter package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs redux-simple-starter
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls redux-simple-starter
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! C:\Working\Examples\ReactExamples\UdemyAdvancedCourse\ClientSideAuthentication\npm-debug.log
just try port 3000
I am experience something similar that I cannot resolve:
