I have node installed in my laptop, npm as well as nvm.
I can check node version, npm and nvm. But when I try to run the command: npx create-react-app file-name, it says create-react-app is not recognized as an internal or external command. Even I tried using npm install -g create-react-app and then create-react-app it gives the same type of error. I tried cleaning cache as well.
I have my project files installed in D drive whereas node is in C drive.
Any solutions in this case??? Please help me.


