Create-react-app: Error while installing create-react-app

Created on 6 Aug 2020  路  18Comments  路  Source: facebook/create-react-app

npx create-react-app myapp
npx: installed 98 in 26.252s

Creating a new React app in D:\Web Development\myapp.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@svgr%2fwebpack - Not found
npm ERR! 404
npm ERR! 404 '@svgr/[email protected]' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'react-scripts'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache_logs\2020-08-06T09_38_58_553Z-debug.log

Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.

Deleting generated file... package.json
Deleting myapp/ from D:\Web Development
Done.

bug report needs triage

Most helpful comment

It's fixed right now! I was able to create a project just now... 馃憤

Yes can confirm. I created an app now

All 18 comments

Same here, this happens to me on a fresh install (I tested it in Google Cloud Console). There seems to be some problem with the registry?

Edit: See https://status.npmjs.org/

It's not a CRA problem but in the registry. I guess they are already working to solve it.

Same Issue!

Same issue:
New Ubuntu 20 installation.
Nvm install latest node.

same issue:

yarn install v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-1.6.0.tgz: Request failed "404 Not Found"".

Same here. Ubuntu 18.04 fresh install (Google Cloud VM).
Node version: 12.16.2
NPM version: 6.14.4

1883 verbose npm v6.14.4 1884 error code E404 1885 error 404 Not Found - GET https://registry.npmjs.org/@svgr%2fwebpack - Not found 1886 error 404 1887 error 404 '@svgr/webpack@^4.3.2' is not in the npm registry. 1888 error 404 You should bug the author to publish it (or use the name yourself!) 1889 error 404 It was specified as a dependency of 'hoatuoithuynga.com' 1890 error 404 Note that you can also install from a 1891 error 404 tarball, folder, http url, or git url. 1892 verbose exit [ 1, true ]

Same issue

Same issue with react-scripts

npm ERR! code E404
npm ERR! 404 Not Found - GET http://registry.npmjs.org/@typescript-eslint%2feslint-plugin - Not found
npm ERR! 404
npm ERR! 404  '@typescript-eslint/eslint-plugin@^2.10.0' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'react-scripts'

Thank God I thought it was a problem on my local machine. I hope they fix it fast I want to start a new project.

Guys, why don't you read the first 2-3 comments before posting? What is the idea of writing "Same issue". Of course you will have the same issue while npm registry is not fully operational...

Same issue when trying to create react app with using npm.

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@svgr%2fwebpack - Not found
npm ERR! 404 
npm ERR! 404  '@svgr/[email protected]' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'react-scripts'
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

@TheMuyu It's an npm issue.

same thing馃槙
hope it will not take so long..

@TheMuyu It's an npm issue.

Yes now I saw their status site about this error

Update - We are continuing to work on a fix for this issue.
Aug 6, 10:55 UTC

yups same issus....馃槥

It's fixed right now! I was able to create a project just now... 馃憤

Yes can confirm. I created an app now

its working now .....馃槏

Was this page helpful?
0 / 5 - 0 ratings