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 1,942 times
0
jonrsharpe
- 107,083
- 22
- 201
- 376
Utkarsh Hadgekar
- 21
- 2
2 Answers
0
You should install npx globally, try this:
npm i -g npx
On mac/linux use sudo:
sudo npm i -g npx
Szabolcs András
- 11
- 3
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