Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] npm i failing for random packages on retry saying package not found #6644

Closed
2 tasks done
manojbavikati opened this issue Jul 14, 2023 · 9 comments
Closed
2 tasks done
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Release 9.x work is associated with a specific npm 9 release

Comments

@manojbavikati
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

npm ERR! 404 Not Found - GET https://registry.npmjs.org/@antv%2fl7-component - Not found

Expected Behavior

install should complete without errors.

Steps To Reproduce

  1. In this environment...
  2. With this config...
  3. Run '...'
  4. See error...

Environment

  • npm:9.6.7
  • Node.js:v18.16.1
  • OS Name: Windows 11
  • System Model Name:
  • npm config:
; copy and paste output from `npm config ls` here
@manojbavikati manojbavikati added Bug thing that needs fixing Needs Triage needs review for next steps Release 9.x work is associated with a specific npm 9 release labels Jul 14, 2023
@jfirebaugh
Copy link
Contributor

Also seeing this. Looks like consistency issues with the CDN or something like that.

@jfirebaugh
Copy link
Contributor

Repeat of #1626?

@codybswaney
Copy link

Also seeing this, inconsistency with pulling various packages over the last 45+ minutes or so.

The full error from the first package we saw it on:

#10 79.31 npm ERR! code E404
#10 79.31 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@vercel%2fncc - Not found
#10 79.31 npm ERR! 404 
#10 79.31 npm ERR! 404  '@vercel/ncc@0.34.0' is not in this registry.
#10 79.31 npm ERR! 404 
#10 79.31 npm ERR! 404 Note that you can also install from a
#10 79.31 npm ERR! 404 tarball, folder, http url, or git url.
#10 79.32 
#10 79.32 npm ERR! A complete log of this run can be found in:
#10 79.32 npm ERR!     /root/.npm/_logs/2023-07-14T19_49_53_940Z-debug-0.log
#10 ERROR: process "/bin/sh -c npm ci" did not complete successfully: exit code: 1

For clarity, @vercel/ncc@0.34.0 does exist.

@iagormoraes
Copy link

Also seeing this, inconsistency with pulling various packages over the last 45+ minutes or so.

The full error from the first package we saw it on:

#10 79.31 npm ERR! code E404
#10 79.31 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@vercel%2fncc - Not found
#10 79.31 npm ERR! 404 
#10 79.31 npm ERR! 404  '@vercel/ncc@0.34.0' is not in this registry.
#10 79.31 npm ERR! 404 
#10 79.31 npm ERR! 404 Note that you can also install from a
#10 79.31 npm ERR! 404 tarball, folder, http url, or git url.
#10 79.32 
#10 79.32 npm ERR! A complete log of this run can be found in:
#10 79.32 npm ERR!     /root/.npm/_logs/2023-07-14T19_49_53_940Z-debug-0.log
#10 ERROR: process "/bin/sh -c npm ci" did not complete successfully: exit code: 1

For clarity, @vercel/ncc@0.34.0 does exist.

Is not only this package, various others is happening the same.

@JavaScriptBach
Copy link

Most likely the NPM registry is busted. Still no incident declared in https://status.npmjs.org/ sadly

@codybswaney
Copy link

Yes, thanks @iagormoraes I should have clarified better: we are seeing it happening on various packages and it's very inconsistent. E.g. my last build failed on another package:

npm ERR! 404 Not Found - GET https://registry.npmjs.org/@graphql-tools%2fdelegate - Not found
npm ERR! 404 
npm ERR! 404  '@graphql-tools/delegate@9.0.21' is not in this registry.

@melMass
Copy link

melMass commented Jul 14, 2023

Same here, it worked on the node-setup github action by explicitely telling it the registry url, but our docker build now trigger the same

image

@manojbavikati
Copy link
Author

Looks like the npm registry issue is resolved for me after multiple retry. Looks like it was failing for random packages

melMass added a commit to teia-community/teia-ui that referenced this issue Jul 14, 2023
It was an upstream issue:
npm/cli#6644

This is just to trigger the ci and remove this unneeded change
@Konard
Copy link

Konard commented Mar 24, 2024

We had a problem for https://registry.npmjs.org/@tand_ferret%2fuseful_hooks too for a short period of time after publish. So this issue continue to reproduce.

deep-foundation/npm-packager#97 - our issue on that problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Release 9.x work is associated with a specific npm 9 release
Projects
None yet
Development

No branches or pull requests

7 participants