Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reactjs project creating while react-dev-utils not found

Tags:

npm

reactjs

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...

like image 706
ragu Avatar asked Aug 30 '18 05:08

ragu


1 Answers

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
like image 94
zharif Avatar answered Oct 01 '22 22:10

zharif