StephenGrider / ReduxSimpleStarter

Starter pack for an awesome Udemy course

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Npm can't start a local server

Masmix95 opened this issue · comments

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

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

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

Thank you again !

Hi @Masmix95 ,

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

how to change the port otherthan 8080

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

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..