I am unable to create react app using npx

Viewed 2099

I am having a trouble on creating React app in my windows, I hope you guys can help me .. I have wrote this command in hyper terminal npx create-react-app new-app And I have checked my node.js version which is 12.16.1 and my npm version and npx version they both are 6.14.4. I don't know why i am getting this error all the time

Error: EPERM: operation not permitted, mkdir 'C:\Users\Deepak'
command not found: create-react-app
1 Answers

Step-1

run following command

npm install -g create-react-app

step-2

run following command

npx create-react-app my-app
Related