There is no problem related to React version on CMD.
React version on CMD To check your React version on the command line, simply type: react -v This will print out the current version of React that you have installed.
What is CMD
Command Line Interface (CLI) is a user interface for computers that allows users to issue commands to the computer. A CLI typically consists of a text-based user interface and a command-line interpreter.
Ways to know React version
There are a few ways to know the React version you are using. One way is to use the react-version command in your project’s root directory.
Another way is to look for a file called package.json in your project’s root directory. This file contains information about the versions of dependencies used in your project, and you can use it to determine which version of React was used to build it.