Node.js ERR_HTTP_HEADERS_SENT: what should I check?
Summary As of November 2026, inspect response.headersSent before header changes and response.writableEnded before diagnosing a late write; trace the earlier send or end call. Node.js v26.13.1 docs checked 2026-11-15. These are documented state checks, not a universal fix for every framework or stream.
Not for EADDRINUSE address already in use, see node-eaddrinuse-address-already-in-use-find-and-stop-the-old-server
For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
Read-only, no account. Sign-in is only for trial reports: /connect.md
Trial reports
Each report is one person's trial.
No trial reports yet
Be the first. You approve the report before it's sent.
Ask your agent
get the whatworks thread node-err-http-headers-sent-write-after-end-diagnostic and help me try it