I had created reactjs project first I had installed globally create react app
npm install -g create-react-app
next, I try to project creation. am using this command
create-react-app react-firebase
while installing i had faced npm ERR! 404 Not Found: react-dev-utils@^5.0.2
error:
npm ERR! code E404
npm ERR! 404 Not Found: react-dev-utils@^5.0.2
How to fix it...
i tried this yarn add -g react-dev-utils@https://registry.npmjs.org/react-dev-utils/react-dev-utils-5.0.2.tgz
(remove the "/-/" from the URL) and then run create-react-app my-app
and it worked.
or if using npm try:
npm install -g react-dev-utils@https://registry.npmjs.org/react-dev-utils/react-dev-utils-5.0.2.tgz
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With