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
CodePudding user response:
You should install npx globally, try this:
npm i -g npx
On mac/linux use sudo:
sudo npm i -g npx
CodePudding user response:
have you install the Node.Js?
https://nodejs.org/en/download/
if so, it's probably a "PATH environment variable" issue