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
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.