NPM website was down

(status.npmjs.org)

126 points | by 18nleung 2 days ago ago

64 comments

  • iLemming 2 days ago ago

    First GitHub, now NPM? Oh no... That is happening, guys. Rise of the machines. I hope Jira is next and Slack follows.

    • 2 days ago ago
      [deleted]
  • corvad 2 days ago ago

    I wonder if this is an underlying infra issue with Azure being that Github was also having issues.

    • nulltrace 2 days ago ago

      We added a preflight curl against registry.npmjs.org before the install step in CI. Not surprising they went down together.

    • 2ndorderthought 2 days ago ago

      I bet 10 dollars it's DNS.

    • munk-a 2 days ago ago

      It's likely someone just ran npm ls -all

  • airstrike 2 days ago ago
    • Raed667 2 days ago ago

      lots of amazon pages & search seem to be degraded as well

  • cozzyd 2 days ago ago

    That's one way to fix supply chain vulnerabilities.

    • tantalor 2 days ago ago

      Can't have any vulnerabilities if you don't have a supply chain

    • nine_k 2 days ago 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.)

      • hmokiguess 2 days ago 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

        • jamesfinlayson 2 days ago ago

          Multiple previous jobs had this too (local Packagist is thing, Artifactory is another) but my current job got rid of theirs. Seemed a little short-sighted given the risks but I don't make the decisions.

      • spartanatreyu 2 days ago 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.

      • miohtama 2 days ago ago

        Only if we had a turn key distributed cache, like IPFS

        • ibejoeb 2 days ago 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 2 days ago 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 days ago ago

          Waiting for the BitTorrent package manager

      • XorNot 2 days ago 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 2 days ago 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.

  • hexasquid 2 days ago ago

    Hold the jokes until we're sure this isn't an `.unwrap()`

  • normie3000 2 days ago ago

    Well it is owned by github.

    • cute_boi 2 days ago ago

      which is owned by microslop

      • rvz 2 days ago 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 2 days ago ago

          Clippy was too stupid to qualify as an AI.

  • lrvick 2 days ago 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.

  • squarefoot 2 days ago ago
  • corvad 2 days ago ago

    Fixed as of 22:30 UTC. Hope there's a postmortem.

  • saadn92 2 days ago ago

    ha, github is down too

  • simjnd 2 days ago ago
  • idoxer 2 days ago ago

    Works for me, could be region related

  • dabinat 2 days ago ago
  • xmprt 2 days ago 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 days ago ago
      • xmprt 2 days ago 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 days ago 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 days ago 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 days ago 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 2 days ago ago

            Not sure about that "million characters", but we've been bitten by it in our production systems. :(

            Thus, we're moving off GitLab.

            • skullone 2 days ago ago

              What use case does a million character PR have?

              • justinclift a day ago ago

                When an automated system creates a PR for merging from an existing dev branch (that's been extensively tested) to "master" (or "main").

                The "surprise, you can't review all the files in your PR" using GitLabs standard web based tooling makes it a no-go.

                • sofixa a day ago ago

                  That's interesting because GitHub's web UI craps out at much less than 1 million lines. It refuses to open even low thousand line diffs.

                  • xp84 a day ago ago

                    I’ve personally been deeply unappreciated of Github’s changes in the last few years to automatically not show diffs to “large files” without having to click to open them - which seems to be a threshold that continues to shrink. Maybe like 3 screenfuls of content is the limit now per file. It’s crazy.

                  • justinclift a day ago ago

                    Yeah, agreed it's not great for that. I'm not real happy with GitHub's worsening UX either, but it'll at least show the _names_ of all the files in the PR.

                    With GitLab, when you hit the rate limit, any file "past" that limit doesn't even show that it exists in the MR. It just looks like the MR is missing a bunch of stuff, with no workaround available. :( :( :(

            • irishcoffee 2 days ago ago

              I'm sure, I looked it up.

      • 2 days ago ago
        [deleted]
      • fontain 2 days ago ago

        All of those features are supported by GitHub in some form, e.g: Organizations can now belong to Enterprises.

        • sofixa 2 days ago ago

          It's not the same, at all.

          SSO, access tokens, secrets are all bound to the Organization level - if you work on multiple Organizations you have to log in separately... You also cannot have nested Organizations.

        • dijksterhuis 2 days ago 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 2 days ago 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?

  • TesterVetter 2 days ago ago

    [dead]

  • cute_boi 2 days ago ago

    microslop slops are down.

  • naikrovek 2 days ago ago

    Oh no. At least nothing of value is affected.

    :)