how to update react-scripts version code example
Example 1: update create react app
npm install react-scripts@latest
Example 2: npm install upgrade react version react-scripts
npm install --save react-scripts@latest
npm install react-scripts@latest
npm install --save react-scripts@latest