2

I tried npx create-react-app command on terminal but I'm getting the following error:-

npm ERR! code E403
npm ERR! 403 403 Forbidden - GET https://registry.npmjs.org/create-react-app
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy.

npm -v is 6.14.11
node -v is v12.21.0
Please help.
6

1 Answer 1

2

Just Try to use sudo npx create-react-app if still not working Test this solution

npm init
npm install create-react-app
npx create-react-app myapp

Sign up to request clarification or add additional context in comments.

3 Comments

How would sudo resolve a a 403 error coming from npm?
@Boaz oh no i thought it was a folder error not npm 403 i didnt see it ( sry )
No need to apologize :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.