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] Sometimes package can't be downloaded from the public NPM registry #500

Closed
alexander-stepanov opened this issue Nov 19, 2019 · 1 comment
Labels
Bug thing that needs fixing

Comments

@alexander-stepanov
Copy link

What / Why

I've recently noticed that some (older?) versions of packages could not be loaded from the public NPM registry sometimes.
For example, p-is-promise@1.0.0 install may return 404 error, which I've traced to the direct curl call:
curl https://registry.npmjs.org/p-is-promise/-/p-is-promise-1.0.0.tgz
When it fails, the returned XML is like:

<Error>
<Code>NoSuchBucket</Code>
<Message>The specified bucket does not exist</Message>
<BucketName>npm-registry-packages</BucketName>
<RequestId>3FE1EB29A1CDEC05</RequestId>
<HostId>
AtjEeC/rUKANywkX7JdUrlh4DiyYbyiH9B8UzauOUmNwuDkAkiw3o0IKa46kpOjH+9dRGSUS4KQ=
</HostId>
</Error>

When

Noticed it today, 2019-11-19.

Where

npm public registry

How

Current Behavior

The issue seems to be a floating bug, it only fails sometimes.

Steps to Reproduce

npm i p-is-promise@1.0.0
or
curl https://registry.npmjs.org/p-is-promise/-/p-is-promise-1.0.0.tgz

Expected Behavior

npm i p-is-promise@1.0.0 should always work.

Who

n/a

References

May be related to (or causing) yarnpkg/yarn#7691

@darcyclarke darcyclarke added the Bug thing that needs fixing label Oct 30, 2020
@darcyclarke
Copy link
Contributor

npm v6 is no longer in active development; We will continue to push security releases to v6 at our team's discretion as-per our Support Policy.

If your bug is preproducible on v7, please re-file this issue using our new issue template.

If your issue was a feature request, please consider opening a new RRFC or RFC. If your issue was a question or other idea that was not CLI-specific, consider opening a discussion on our feedback repo

Closing: This is an automated message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing
Projects
None yet
Development

No branches or pull requests

2 participants