3

I am trying to create new react app with npx create-react-app [name] command. But I get following error:

error Couldn't find package "@babel/[email protected]" required by "babel-preset-react-app@^9.1.2" on the "npm" registry.

Each time it is saying some package could not be found on npm registry (not only @babel/[email protected] this package).

I have also updated my npm and npx, but no success.

0

1 Answer 1

2

You can try deleting the .npmrc file located in Users/you/.npmrc and run the command again, seems there is a bug with npm and this is a workaround

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

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.