You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to create a react app using npx create-react-app my-app, but i get error like this...
**npx create-react-app my-app
npx: installed 67 in 8.021s
Creating a new React app in C:\Users\Harine\my-app.
'npm' is not recognized as an internal or external command,
operable program or batch file.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...
'npm' is not recognized as an internal or external command,
operable program or batch file.
Deleting generated file... package.json
Deleting my-app/ from C:\Users\Harine
Done.**
so what should i do?
Judging by the "'npm' is not recognized as an internal or external command" message, looks like npm isn't available in your PATH or that something is messed up with your node/npm install potentially.
Try running npm -v in your terminal of choice to see if you get current npm version you have installed. If you get the same error message, you probably need to add npm to PATH properly.
Instructions how to do add stuff to PATH can be googled easily.
Judging by the "'npm' is not recognized as an internal or external command" message, looks like
npm
isn't available in your PATH or that something is messed up with your node/npm install potentially.Try running
npm -v
in your terminal of choice to see if you get current npm version you have installed. If you get the same error message, you probably need to add npm to PATH properly.Instructions how to do add stuff to PATH can be googled easily.
Originally posted by @marko-hologram in #10937 (comment)
The text was updated successfully, but these errors were encountered: