Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React JS #13634

Open
ValM79 opened this issue Jul 16, 2024 · 4 comments
Open

React JS #13634

ValM79 opened this issue Jul 16, 2024 · 4 comments

Comments

@ValM79
Copy link

ValM79 commented Jul 16, 2024

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
Copy link
Author

ValM79 commented Jul 16, 2024

Can't install React JS.

@niranjan404
Copy link

Do you have node installed in your system?

check using cmd:

node -v

@arashghezavati
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants