Live data from Hacker News

NPM Is Down

status.npmjs.org

11–17 of 17 posts

Re: NPM Is Down

#14

I've been wondering why we don't all have squid proxies setup for NPM or other centralized dependencies. When I run npm install, I'm hitting the local cache 99% of the time, so I'd imagine that it's a perfect use case and would let us all keep doing our job when this happens. Am I missing something?

No, you're not missing anything, besides that most people who do depend on NPM these days, do in fact run their own proxies as the registry does down so often. Verdaccio is the one I see being used in the wild most often. https://verdaccio.org/

Re: NPM Is Down

#16

I've been wondering why we don't all have squid proxies setup for NPM or other centralized dependencies. When I run npm install, I'm hitting the local cache 99% of the time, so I'd imagine that it's a perfect use case and would let us all keep doing our job when this happens. Am I missing something?

Typically big orgs run jfrog artifactory caches (and get to enjoy down time when they break)

Re: NPM Is Down

#17
post #10

The yarn mirror is still up - details on how to use it here: https://benlimmer.com/2021/10/07/how-to-use-yarn-npm-mirror/

You sure about that? https://yarnpkg.com/getting-started/qa#queries-to-registryya... > the Yarn registry is just a CNAME to the npm registry

Huh, it must have been coincidental timing with the NPM outage recovering.
Post reply on HN