-1
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
jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
Utkarsh Hadgekar
  • 19
  • 1
  • 1
  • 2

4 Answers4

0

have you install the Node.Js?

https://nodejs.org/en/download/

if so, it's probably a "PATH environment variable" issue

Fixing npm path in Windows 8 and 10

  • 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
-1

Install node.js, after that then restart your VS code.

rurjaf
  • 45
  • 4
-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