It always refer me to another directory in my computer and I can really access that folder. I was told to run npx instead of npm but but that still revert back to the former issues. Please can someone help me? am using windows terminal
Asked
Active
Viewed 238 times
-1
-
I think you are confusing npx with npm – Dshiz Oct 25 '20 at 23:57
-
please don't post a link to a screenshot, try to post the message and code in your question – kimcodes Oct 26 '20 at 00:11
2 Answers
1
npx create-react-app my-app
cd my-app
npm start
-
1thanks dude. it works. i just uninstall the first one i install and the follow the command you gave. – Ahmad Salihu Oct 26 '20 at 02:45
0
You're using npm instead of npx.
You'll need to install npx, to do that use that command from npm:
npm install -g npx
And then, you can use npx create-react-app my-app
Sudo is a command common available in Linux and is used to run a command with Administrator or root permissions.

zLupim
- 299
- 3
- 15