StephenGrider / ReduxSimpleStarter

Starter pack for an awesome Udemy course
MIT License
3.56k stars 4.63k forks source link

Npm can't start a local server #229

Open Masmix95 opened 6 years ago

Masmix95 commented 6 years ago

Hello!

I just started this course, and I have some issues with enviroment configuration. I've cloned repository, and also installed npm in folder "ReduxSimpleStarter", but if I want to start a local host by "npm start" it doesn't work . Cmder throws errors like shown bellow. Can anyone help me ? cmder

nikodem-wrona commented 6 years ago

Try to use „npm i” in first place before „npm start” And if that isn’t working check if maybe another server or sth is using the same port

Masmix95 commented 6 years ago

Thank you very much. The answer was that OracleDB was blocking this port, I needed just to turn it off.

Thank you again !

Bhagyagali commented 6 years ago

Hi @Masmix95 ,

I am also getting the same error? How to turn off the OracleDB ?

Masmix95 commented 6 years ago

Howdy,

You must enter Task Manager ->Services -> More Services, then you should find Oracle PID, and just turn it off.

2018-06-13 11:37 GMT+02:00 Bhagyagali notifications@github.com:

Hi @Masmix95 https://github.com/Masmix95 ,

I am also getting the same error? How to turn off the OracleDB ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/StephenGrider/ReduxSimpleStarter/issues/229#issuecomment-396877190, or mute the thread https://github.com/notifications/unsubscribe-auth/AWDIu_1nPuxDTouq04ogpBENKnYgmZobks5t8N1IgaJpZM4Tsaq0 .

chakravarthyg commented 6 years ago

how to change the port otherthan 8080

vinay72 commented 6 years ago

Do you install npm dependencies seperately before running npm start in your terminal.

toddnagel commented 6 years ago

ok, after an hour or so, I was able to fix this by starting over ( alot of fixes for this issues ), then do a fresh npm install, and change in package-json the "scripts" "start" does not need the 'node and dir to webpack-dev-server', instead make it this:

"start": "webpack-dev-server"

and that's all I did to get it to work, on windows machine..of course took over an hour to try all the fixes..