Closed Inkering closed 3 years ago
the set
keyword also works on Mac, need to test on linux
Assigning myself to this to try it on Linux
https://stackoverflow.com/questions/40714583/how-to-specify-a-port-to-run-a-create-react-app-based-project more info on this peculiarity
Particularly this solution looks ideal
2 months later finally added one line of code :)
when running npm start, this popped up:
"'PORT' is not recognized as an internal or external command, operable program or batch file."
Had to change modify the following line in package.json prev: "start": "PORT=3333 && react-scripts start", new: "start": "set PORT=3333 && react-scripts start",