Skip to content

URIjs fails with bad hash #2508

Closed
Closed
@Marius-Stroe

Description

@Marius-Stroe

I can't create or use a react app anymore as create-react-app fails with the following message:

...
Installing packages. This might take a couple minutes.
Installing react, react-dom, and react-scripts...

yarn add v0.20.0
info No lockfile found.
[1/4] 🔍  Resolving packages...
warning react-scripts > sw-precache-webpack-plugin > sw-precache > dom-urls > [email protected]: package renamed to "urijs" (lower-case), please update accordingly
[2/4] 🚚  Fetching packages...
error https://artifactory.twitter.biz:443/api/npm/js-virtual/URIjs/-/URIjs-1.16.1.tgz: Bad hash. Expected "edebc678b8b74b26b05d2b481e12383f5ae04b8b" but got "859ad31890f
5f9528727be89f1932c94fb4731e2"
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command...

See entire npm-debug.log

It suddenly started happening when creating a simple react app. Any help would be appreciated as I can't do anything right now: can't install any package.json dependencies.

Thanks!

I've also submitted a bug with npm, as the error message suggests that: npm/npm#17108

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions