Create-react-app: Cannot install from npm

Created on 30 Aug 2018  路  3Comments  路  Source: facebook/create-react-app

Starting today, installing both with npm and yarn leads to an error during install. Apparently, the URL provided returns a 404 not found.
The url resolved is https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-4.2.2.tgz. I tried with 4.2.1 but found the same issue. Trying to visit https://registry.npmjs.org/react-dev-utils/react-dev-utils-4.2.2.tgz, instead, starts the download of the package. Is there any solution for this issue?

Thank you in advance for any hint

Most helpful comment

Same here, both trying to use npm (v 5.5.1) and yarn (v 1.7.0). Already tried deleting node_modules, clearing yarn cache et similia.

Our project depends on react-dev-utils versions 3.1.1 and 5.0.0, so this might be a wider issue with this package.

All 3 comments

Just started seeing this issue today as well. It looks like the 4.2.1 tarball is missing from the registry: https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-4.2.1.tgz returns a 404

I'm using yarn and my yarn.lock file looks like this:

react-dev-utils@^4.2.1:
  version "4.2.1"
  resolved "https://registry.yarnpkg.com/react-dev-utils/-/react-dev-utils-4.2.1.tgz#9f2763e7bafa1a1b9c52254d2a479deec280f111"

I fixed it by pinning the version to 4.2.2

Same here, both trying to use npm (v 5.5.1) and yarn (v 1.7.0). Already tried deleting node_modules, clearing yarn cache et similia.

Our project depends on react-dev-utils versions 3.1.1 and 5.0.0, so this might be a wider issue with this package.

Duplicate of #4938

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fson picture fson  路  3Comments

alleroux picture alleroux  路  3Comments

oltsa picture oltsa  路  3Comments

xgqfrms-GitHub picture xgqfrms-GitHub  路  3Comments

barcher picture barcher  路  3Comments