NPM website was down

(status.npmjs.org)

113 points | by 18nleung 3 hours ago

18 comments

  • iLemming 2 hours ago
    First GitHub, now NPM? Oh no... That is happening, guys. Rise of the machines. I hope Jira is next and Slack follows.
  • corvad 3 hours ago
    I wonder if this is an underlying infra issue with Azure being that Github was also having issues.
    • nulltrace 2 hours ago
      We added a preflight curl against registry.npmjs.org before the install step in CI. Not surprising they went down together.
    • 2ndorderthought 3 hours ago
      I bet 10 dollars it's DNS.
    • munk-a 3 hours ago
      It's likely someone just ran npm ls -all
  • cozzyd 3 hours ago
    That's one way to fix supply chain vulnerabilities.
    • tantalor 3 hours ago
      Can't have any vulnerabilities if you don't have a supply chain
    • nine_k 2 hours ago
      More seriously, keeping a local cache of external npm packages, and a local artifact storage for internal npm packages looks like a wise thing to have done long ago. Might be cheaper in the long run.

      Ironically, both Nandu and Verdaccio are implemented in Tyepscript and install via npm.

      (Same logic obviously applies to Python packages, Docker images, etc.)

      • spartanatreyu 10 minutes ago
        > a local artifact storage for internal npm packages looks like a wise thing to have done long ago

        Deno already does this invisibly by default.

        All packages are stored in the global cache.

        No need to store multiple versions of the same dependencies across projects.

        To the code in your projects: there is no such thing as a global cache. Just import your dependencies like normal and deno maps them to the global cache.

      • hmokiguess 2 hours ago
        At my former job we had a private registry that was a mirror of npm’s with an approval gate for packages devs would request and it would always pin versions

        I took that for granted back then and just assumed it was standard enterprise policy

      • miohtama 2 hours ago
        Only if we had a turn key distributed cache, like IPFS
        • ibejoeb 2 hours ago
          Does IPFS support content eviction now? If not, that could go wrong really fast. You get a compromised package out there and then, I think, literally every node needs to unpin it or it remains.
          • zadikian 48 minutes ago
            Presumably, how ever you mark a version as latest would also be how you mark one as compromised. IPFS files are immutable and keyed by hash. But this seems like overengineering.
        • cluckindan 2 hours ago
          Waiting for the BitTorrent package manager
      • XorNot 2 hours ago
        Caching NPM was easier when you could pull the Couchbase replicate API. Afaik that's gone and now you just have to send a bazillion http requests instead.
        • nine_k 1 hour ago
          Sending a bazillion http requests within your LAN, or at least your VPC, is much easier, faster, and cheaper.

          Both yarn and pnpm support http/2 which speeds up the bazillion requests quite a bit.

  • airstrike 3 hours ago
    • Raed667 2 hours ago
      lots of amazon pages & search seem to be degraded as well
  • lrvick 49 minutes ago
    Whenever NPM is offline, the internet is a little safer.

    Keep up the good work Microsoft.

    Let's shoot for 100% downtime though. Thanks.

  • hexasquid 2 hours ago
    Hold the jokes until we're sure this isn't an `.unwrap()`
  • normie3000 3 hours ago
    Well it is owned by github.
    • cute_boi 3 hours ago
      which is owned by microslop
      • rvz 3 hours ago
        ...and proudly maintained by Microsoft's AI agents: Tay.ai, Zo, and Copilot.

        They seem to be doing a pretty good job at wrecking both GitHub and npm at the same time.

        • adxl 10 minutes ago
          Clippy was too stupid to qualify as an AI.
  • squarefoot 2 hours ago
  • corvad 2 hours ago
    Fixed as of 22:30 UTC. Hope there's a postmortem.
  • saadn92 3 hours ago
    ha, github is down too
  • dabinat 2 hours ago
  • idoxer 2 hours ago
    Works for me, could be region related
  • simjnd 3 hours ago
  • xmprt 3 hours ago
    With all the github instability, I wonder if Cloudflare or some other provider is going to look into providing a similar service.
    • dllrr 2 hours ago
      • xmprt 49 minutes ago
        I mean more like a full git competitor. Gitlab exists but more competition is generally better for the consumer and it looks like Github's lead is starting to falter with all these incidents.
    • sofixa 2 hours ago
      GitLab is right there. And overall provides a better product than GitHub, if nothing else on these two points:

      * You can actually have an organisational structure (folders/namespaces), and projects can be moved around with automatic redirects. Also, inheritance of access controls, variables between the namespaces

      * GitLabCI is organised in a way that makes supply chain attacks less of a risk. GitHub Actions takes the NPM/JS approach, where every step is an action, one you usually need to get off someone, with shoddy versioning, tons of transient dependencies, etc. In GitLabCI you can have templates, but you don't have to use an external template for every bit. It's shell scripting on top of containers, so you can have custom container images with your stuff, or custom scripts, or templates that bundle it all.

      • justinclift 2 hours ago
        GitLab also limits the size of PRs/MRs, which makes it Unfit for Purpose. :( :( :(

        Its a problem they know about, but have no plan to fix before 2027.

        • irishcoffee 2 hours ago
          I mean, the PR limit is like a million characters. I would also reject a PR of a million characters. That’s bananas.
          • justinclift 1 hour ago
            Not sure about that "million characters", but we've been bitten by it in our production systems. :(

            Thus, we're moving off GitLab.

      • fontain 2 hours ago
        All of those features are supported by GitHub in some form, e.g: Organizations can now belong to Enterprises.
        • dijksterhuis 1 hour ago
          tree based directory structure stuff is available on gitlab’s free tier — so are all the permissions inheritance for groups etc.

          so, while you’re technically right, these features are apparently paywalled heavily on github.

          ime you get more features on gitlab for the same price (or less). i switched fully two years ago and im not going back.

  • dmitrygr 1 hour ago
    libc is still working just fine, as is the linux kernel. Mayhaps having 2000 dependencies on 3000 packages from 4000 unvetted sources was a mistake afterall?
  • naikrovek 2 hours ago
    Oh no. At least nothing of value is affected.

    :)

  • TesterVetter 3 hours ago
    [dead]
  • cute_boi 3 hours ago
    microslop slops are down.