facebook / create-react-app

Set up a modern web app by running one command.
https://create-react-app.dev
MIT License
102.51k stars 26.77k forks source link

React JS #13634

Open ValM79 opened 1 month ago

ValM79 commented 1 month ago

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.

ValM79 commented 1 month ago

Can't install React JS.

niranjan404 commented 1 month ago

Do you have node installed in your system?

check using cmd:

node -v

arashghezavati commented 1 month ago

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.

bharat407 commented 1 month ago

Please follow these steps:-

Download from nodejs.org (LTS version).

Could you ensure that the PATH environment variable includes the directory where Node.js and npm are installed?

Run in Command Prompt node -v npm -v

Run in command Prompt npm install -g npm

Run in Command Prompt npx create-react-app my-app