check create react app version code example
Example 1: update create react app
npm install react-scripts@latest
Example 2: react create app
npx create-react-app my-app
cd my-app
npm start
Example 3: how to update react app
//open terminal and run thsi code
cd newreact
//where newreact is the old react app you created
//open package.json in text editor and change the version to latest
//open the same terminal gain and run this
npm install
Example 4: npm create react app
npx --ignore-existing create-react-app .
Example 5: create-react-app version check
{
...
...
...
"name": "react-app",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1"
},
...
...
...
}