{
  "id": 20101973,
  "title": "npm ERR! network errors in GitHub Actions",
  "url": "https://urgent.news/2026/11/15/npm-err-network-errors-in-github-actions",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-15T02:46:37.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/kalemi/npm-err-network-errors-in-github-actions-4o64"
  },
  "original_language": "en",
  "account": "A \"npm ERR! network\" error in GitHub Actions indicates that the npm request to the registry failed, not that there's an issue with your dependency tree. The specific error code under it, such as a 5xx, throttle, or E-code, determines whether the issue is transient and worth retrying or a permanent failure. The recorded run shows npm exhausting its retries against a registry responding with a 503 Service Unavailable error, while the runner retries the step and the second attempt succeeds. The error message prefix is the same across all instances, and the code under it dictates whether retrying is the fix or not. The log block typically starts with the same prefix, making it easy to identify the relevant line. The error codes 500, 502, 503, and 504 indicate registry failures, while a 404 means there's an issue with the package name, version, or registry path. Unsupported protocols also trigger this error. To resolve the issue, it's crucial to analyze the code under the error message and apply the appropriate fix. Raising the retry budget and adjusting socket counts can help prevent network failures, and ensuring the configuration settings are available to the npm process is essential.",
  "summary": "An npm ERR! network line in GitHub Actions means npm reached the registry and the request failed, not that anything is wrong with your dependency tree. Read the code printed under it: a 5xx, a throttle or an E-code is transient and worth retrying, while a 404 or an unsupported protocol will fail the same way every time. The recorded run: npm exhausts its own retries against a registry answering…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 2,
    "also_reported_by": [
      {
        "outlet": "Hacker News",
        "title": "GitHub Incident with Webhooks, Actions, etc.",
        "url": "https://urgent.news/2026/11/11/github-incident-with-webhooks-actions-etc",
        "published": "2026-11-11T20:54:37.000Z"
      }
    ]
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}