npx : The term 'npx' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
At line:1 char:1
+ npx create-react-app my-app
+ ~~~
+ CategoryInfo : ObjectNotFound: (npx:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Asked
Active
Viewed 2.0k times
-1

jonrsharpe
- 115,751
- 26
- 228
- 437

Utkarsh Hadgekar
- 19
- 1
- 1
- 2
4 Answers
0
have you install the Node.Js?
https://nodejs.org/en/download/
if so, it's probably a "PATH environment variable" issue

Yotam Hasson
- 1
- 1
-
yes I've installed node.js, and there isn't any Path environment variable issue. I tried installing node.js 32bit for windows, and its working fine now . – Utkarsh Hadgekar Dec 03 '21 at 08:12
-1
You should install npx globally, try this:
npm i -g npx
On mac/linux use sudo:
sudo npm i -g npx

Szabolcs András
- 7
- 3
-1
After installation , restart your vscode
-
Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Apr 28 '23 at 13:55