React JS
C:\Users\valer\Desktop\react-kabzda-kak-prosto\01-first-project>npx create-react-app my-app 'npx' is not recognized as an internal or external command, operable program or batch file.
Can't install React JS.
Do you have node installed in your system?
check using cmd:
node -v
It seems like npx is not recognized because Node.js and npm might not be installed properly on your system. First, check if Node.js is installed by running node -v in your command prompt. If you don't see a version number, download and install Node.js. After installation, verify npm with npm -v. Then, try running npx create-react-app my-app again. If you continue to have issues, please share the output of node -v and npm -v.
Please follow these steps:-
- Install Node.js and npm:
Download from nodejs.org (LTS version).
Could you ensure that the PATH environment variable includes the directory where Node.js and npm are installed?
- Verify Installation:
Run in Command Prompt node -v npm -v
- Update npm (if needed
Run in command Prompt npm install -g npm
- Create React App:
Run in Command Prompt npx create-react-app my-app