Metaculus / Metaculus/metaculus

Investigate server-side Node.js webstreams error

Open
#4,239 2 comments 0 reactions 1 assignee View on GitHub

@cemreinanc is already working on this.

Since Feb 10, 2026.

Medium Priority Stale
Dominant language
TypeScript
Stars
113
Forks
34
Avg merge
16h 34m
Merged PRs (30d)
30

Description

We're seeing a lot of server-side crashes in Node.js webstreams code - not in our application code directly.

Sentry: https://metaculus.sentry.io/issues/METACULUS-FRONTEND-1FZ (20,773 events since June)

The error is happening deep in Node.js internals:

TypeError: controller[kState].transformAlgorithm is not a function
  at node:internal/webstreams/transformstream:568:16

This appears to be a Node.js or Next.js compatibility issue rather than a bug in our code. Need to investigate:

  • Whether this is a known issue in Node v24.13.0
  • If upgrading/downgrading Node or Next.js resolves it
  • Whether other projects are seeing similar issues

0 users affected (server-side only), but high event volume.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.