Skip to content

[@types/eslint] v8.4.4 missing from NPM registry  #61032

Closed

Description

@TheNickm2

v8.4.4 of @types/eslint appears to be corrupt or missing from the NPM registry.

The latest version appears to have no README, nor is the tarball available via the NPM registry.

Screenshot below shows v8.4.4 "README" is missing
image

NPM unable to find the tarball

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types/eslint/-/eslint-8.4.4.tgz - Not found
npm ERR! 404 
npm ERR! 404  '@types/eslint@https://registry.npmjs.org/@types/eslint/-/eslint-8.4.4.tgz' is not in this registry.
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

Update: This is almost certainly an issue with the NPM registry: https://status.npmjs.org/incidents/6wr25yb0b2dd - Leaving this issue open until the NPM registry issue is resolved to see if additional action items are necessary for the DefinitelyTyped team to fix the broken package (e.g. push another minor change to trigger the CI/CD again after the outage ends)

Activity

  1. subhankar-trisetra commented on Jun 30, 2022

    @subhankar-trisetra

    Same Issue:

    Arguments: 
      /Users/apple/.nvm/versions/node/v14.19.3/bin/node /Users/apple/.nvm/versions/node/v14.19.3/bin/yarn
    
    PATH: 
      /Users/apple/.pyenv/shims:/Users/apple/.nvm/versions/node/v14.19.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/Library/Apple/usr/bin:/Users/apple/.nvm/versions/node/v14.19.3/bin
    
    Yarn version: 
      1.22.19
    
    Node version: 
      14.19.3
    
    Platform: 
      darwin x64
    
    Trace: 
      Error: https://registry.npmjs.org/@types/eslint/-/eslint-8.4.4.tgz: Request failed "404 Not Found"
          at ResponseError.ExtendableBuiltin (/Users/apple/.nvm/versions/node/v14.19.3/lib/node_modules/yarn/lib/cli.js:696:66)
          at new ResponseError (/Users/apple/.nvm/versions/node/v14.19.3/lib/node_modules/yarn/lib/cli.js:802:124)
          at Request.<anonymous> (/Users/apple/.nvm/versions/node/v14.19.3/lib/node_modules/yarn/lib/cli.js:66215:16)
          at Request.emit (events.js:400:28)
          at Request.module.exports.Request.onRequestResponse (/Users/apple/.nvm/versions/node/v14.19.3/lib/node_modules/yarn/lib/cli.js:141767:10)
          at ClientRequest.emit (events.js:400:28)
          at HTTPParser.parserOnIncomingClient (_http_client.js:647:27)
          at HTTPParser.parserOnHeadersComplete (_http_common.js:127:17)
          at HTTPParser.execute (<anonymous>)
          at TLSSocket.socketOnData (_http_client.js:515:22)
    
    

    Fixed by adding

    "resolutions": {
    "@types/eslint": "8.4.3"
    }

    to package.json

  2. trevordilley commented on Jun 30, 2022

    @trevordilley

    Meeee toooo....

    ➜  application git:(migrate-to-nx) ✗ npm install -D @nrwl/react
    npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
    npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
    npm ERR! code E404
    npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types/eslint/-/eslint-8.4.4.tgz - Not found
    npm ERR! 404
    npm ERR! 404  '@types/eslint@https://registry.npmjs.org/@types/eslint/-/eslint-8.4.4.tgz' is not in this registry.
    npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
    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!     /Users/trevordilley/.npm/_logs/2022-06-30T19_38_53_264Z-debug-0.log
    
  3. rosskevin commented on Jun 30, 2022

    @rosskevin
    Contributor

    And you can see there are zero successful downloads from the npmjs registry https://www.npmjs.com/package/@types/eslint

    This is a bad package published, we need another pushed.

    types_eslint-_npm

  4. jeanfbs commented on Jun 30, 2022

    @jeanfbs

    Same error here, please anyone can see this issue with urgency. My sugest is rollback the package breaked

  5. willocho commented on Jun 30, 2022

    @willocho

    The workaround is to pin @types/eslint to version 8.4.3 in your package.json

  6. jeanfbs commented on Jun 30, 2022

    @jeanfbs

    The workaround is to pin @types/eslint to version 8.4.3 in your package.json

    But for accross dependencies will not work :(

  7. rosskevin commented on Jun 30, 2022

    @rosskevin
    Contributor

    @jeanfbs pin it in resolutions

      "resolutions": {
        "@types/eslint": "8.4.3"
      }
  8. snyamathi commented on Jun 30, 2022

    @snyamathi
    Contributor
    $ curl -s https://registry.npmjs.org/@types/eslint | jq '."dist-tags".latest' -
    "8.4.4"
    
    $ curl -s https://registry.npmjs.org/@types/eslint/8.4.4 | jq '.dist.tarball' -
    "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.4.tgz"
    
    $ curl -I https://registry.npmjs.org/@types/eslint/-/eslint-8.4.4.tgz
    HTTP/1.1 404 Not Found
    
  9. jeanfbs commented on Jun 30, 2022

    @jeanfbs
      "resolutions": {
        "@types/eslint": "8.4.3"
      }

    thanks @rosskevin

  10. DenkSchuldt commented on Jun 30, 2022

    @DenkSchuldt

    @jeanfbs pin it in resolutions

      "resolutions": {
        "@types/eslint": "8.4.3"
      }

    Thanks, but won't work with npm versions that don't support resolutions. :c

  11. mamadfar commented on Jun 30, 2022

    @mamadfar

    saaaaaaaaaaaaaammmmmmmeeeeeee

  12. ivanbor8 commented on Jun 30, 2022

    @ivanbor8

    @jeanfbs pin it in resolutions

      "resolutions": {
        "@types/eslint": "8.4.3"
      }

    Thanks, but won't work with npm versions that don't support resolutions. :c

    Try installing the dependency locally with version 8.4.3 temporarily. It worked for me 😉

    npm i -D @types/[email protected]

  13. rosskevin commented on Jun 30, 2022

    @rosskevin
    Contributor
  14. mamadfar commented on Jun 30, 2022

    @mamadfar

    guys just use
    npm i @types/[email protected]
    and done !

  15. hheavener-kyd commented on Jun 30, 2022

    @hheavener-kyd

    guys just use npm i @types/[email protected] and done !

    This doesn't work inside of a CI/CD pipeline where it's being required as a dependency of a dependency

  16. 138 remaining items

  17. andrewbranch commented on Jun 30, 2022

    @andrewbranch
    Member

    @types/react-copy-to-clipboard failed around the same time. I think I’m going to shut down package publishing overnight (unless they tell us we’re good before ~5:00pm).

  18. cemcakirlar commented on Jun 30, 2022

    @cemcakirlar

    I’m a little concerned that the package publisher, which runs every half hour on the half hour (so started a new run 1 minute ago) is going to attempt to republish it again, and I have no idea whether that will succeed or not (I think we’ve seen it fail twice). I’m going to try to watch it in real time here, but there’s a chance it might get momentarily broken again. If that happens, I’ll bump the latest tag again and then shut down the publisher until npm gives us the all-clear.

    I do not "believe" https://www.npmjs.com/package/@types/eslint Versions tab. It is inaccurate.
    Best way to check seems to be npm i @types/eslint in an empty folder.

  19. andrewbranch commented on Jun 30, 2022

    @andrewbranch
    Member

    Yeah, the npmjs.com UI is heavily cached. CLI should always tell you the latest info.

    So case in point about not fixing this earlier: I’m running the command to move the latest tag on @types/react-copy-to-clipboard, and the CLI is telling me it worked, but it actually doesn’t seem to be changing anything. The same command that didn’t work for @types/eslint two hours ago but worked 45 minutes ago. Something is pretty screwed up on npm.

  20. salatielosorno commented on Jun 30, 2022

    @salatielosorno

    Yeah, the tag was changed at 3:12pm PDT (16 minutes ago). Should be working @salatielosorno.

    It is working now! 🎉

  21. andrewbranch commented on Jun 30, 2022

    @andrewbranch
    Member

    https://twitter.com/MylesBorins/status/1542643025725333504

    We are 99% we've identified the cause and have a solution to backfill impacted versions. Just finished manually fixing @types/eslint, now to update the incident and fix the rest.

  22. TheNickm2 commented on Jun 30, 2022

    @TheNickm2
    Author

    NPM registry fix is nearly completed and this package appears to have been fixed manually for the time being. Closed since no further action is required by the DefinitelyTyped team! 🎉

  23. andrewbranch commented on Jun 30, 2022

    @andrewbranch
    Member

    I’m getting close to signing off for the day; officially the status is

    • The @types/eslint 8.4.4 and 8.4.5 tarballs have been restored and the latest tag pointed back to 8.4.5, so this one is totally done.
    • @types/react-copy-to-clipboard is the only other broken package I know of and has not been restored yet, but my impression is the npm team knows which packages are affected and will fix all of them.
    • Since the incident is not officially resolved, I’m leaving the publisher switched off overnight. Merged PRs on DefinitelyTyped will get published tomorrow morning (US Pacific time) when I turn it back on, assuming status.npmjs.com is green.
  24. cemcakirlar commented on Jul 1, 2022

    @cemcakirlar

    https://www.npmjs.com/package/@types/eslint?activeTab=versions
    Currently npmjs reports correct versions. 8.4.4 and 8.4.5 are gone. Lets keep an eye on it.
    image

  25. antoci-alin commented on Jul 1, 2022

    @antoci-alin

    Works for me now!

  26. cemcakirlar commented on Jul 1, 2022

    @cemcakirlar
  27. andrewbranch commented on Jul 1, 2022

    @andrewbranch
    Member

    8.4.4 and 8.4.5 are gone. Lets keep an eye on it.

    They’re there, but you have to scroll down the page. I could have sworn the latest tag was back at 8.4.5 last night, but it’s at 8.4.3 now. Same thing with @types/react-copy-to-clipboard. Verified those versions are working though, so I’m going to try to move the latest tag back to what it should be and hopefully wrap this thing up.

  28. andrewbranch commented on Jul 1, 2022

    @andrewbranch
    Member

    Done, and the publisher is back up and running.

    That’s all, folks!

  29. AKhatabdev commented on Oct 11, 2022

    @AKhatabdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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