Surya. R Surya.R
Surya. R Surya.R

Reputation: 1

why i got error while creating first react project

C:\Users\Admin\OneDrive\Desktop\React Project>npm -v 'CALL "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" prefix -g' is not recognized as an internal or external command, operable program or batch file. 10.2.4 solve this error guys

Upvotes: 0

Views: 74

Answers (1)

Bhavy Ladani
Bhavy Ladani

Reputation: 503

First run the command to find out your node version in your system:

node -v

You also need to check your npm installation using:

npm -v

Also update if they are not on the latest versions. And create a project again:

npx create-react-app demo-project

Let me know how it works for you.

Upvotes: 0

Related Questions