port 3000 react-scripts start'': port' is not recognized as an internal or external command code example
Example 1: set port in react app
//in package.json
"start": "react-scripts start"
t0
//linux
"start": "PORT=3006 react-scripts start"
or
"start": "export PORT=3006 react-scripts start"
//windows
"start": "set PORT=3006 && react-scripts start"
Example 2: yarn start port
Create a .env file in your project folder
add the line "PORT=3006" inside the file and save