0

when i create react up it keeps showing me this error "npm ERR! code E400" ,"npm ERR! 400 Bad Request" please what should i do

i just updated nodejs and tried to create react app with and without 'create-react-app' but still shows this error

npx create-react-app new_app npm ERR! code E400 npm ERR! 400 Bad Request - GET https://registry.npmjs.org/create-react-app

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\OWN-IT\AppData\Local\npm-cache_logs\2022-11-11T07_40_16_100Z-debug-0.log PS C:\Users\OWN-IT\Documents\react>

1 Answers1

1

What version of Nodejs are you using?

Im recommend the latest LTS release.

Check out the version first.

If you're already latest LTS release, try this solution.

https://stackoverflow.com/a/65822052

ingan25
  • 35
  • 1
  • 1
  • 7