4

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
3

1 Answer 1

4

Step-1

run following command

npm install -g create-react-app

step-2

run following command

npx create-react-app my-app
Sign up to request clarification or add additional context in comments.

2 Comments

If we install the create-react-app globally then why should we use npx? There should be a better solution rather than installing package globally and then use them globally.
Hey Deepak, I’m having the same exact problem. Did you ever find a solution to this?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.