[BUG] npm i failing for random packages on retry saying package not found
Is there an existing issue for this?
- [X] I have searched the existing issues
This issue exists in the latest npm version
- [X] 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
- In this environment...
- With this config...
- Run '...'
- 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
Also seeing this. Looks like consistency issues with the CDN or something like that.
Repeat of https://github.com/npm/cli/issues/1626?
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/[email protected]' 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/[email protected] does exist.
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/[email protected]' 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: 1For clarity, @vercel/[email protected] does exist.
Is not only this package, various others is happening the same.
Most likely the NPM registry is busted. Still no incident declared in https://status.npmjs.org/ sadly
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/[email protected]' is not in this registry.
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
Looks like the npm registry issue is resolved for me after multiple retry. Looks like it was failing for random packages
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.
https://github.com/deep-foundation/npm-packager/issues/97 - our issue on that problem.