1//in package.json
2
3"start": "react-scripts start"
4t0
5//linux
6"start": "PORT=3006 react-scripts start"
7or
8"start": "export PORT=3006 react-scripts start"
9//windows
10"start": "set PORT=3006 && react-scripts start"
11
12
1
2"start": "react-scripts start"
3t0
4//linux
5"start": "PORT=3006 react-scripts start"
6or
7"start": "export PORT=3006 react-scripts start"
8//windows
9"start": "set PORT=3006 && react-scripts start"
1// Ubuntu / CentOS / RHEL / MacOS environment:
2
3...
4 "scripts": {
5 "start": "PORT=8000 react-app-rewired start",
6 "build": "react-app-rewired build",
7 "test": "react-app-rewired test --env=jsdom",
8 "eject": "react-app-rewired eject"
9 }
10...