Next.js Discord

Discord Forum

TypeError: controller[kState].transformAlgorithm is not a function

Answered
Sphecid wasp posted this in #help-forum
Open in Discord
Sphecid waspOP
Hey guys, I'm running v14.2.18 on node v22 and my console is full of these errors:
TypeError: controller[kState].transformAlgorithm is not a function
    at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:519:37)
    at node:internal/webstreams/transformstream:560:16
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  digest: '3811010431'
}

I can't seem to pinpoint what exactly causes this. This is def related to streaming responses via app folder though. Anyone has any hints?
Answered by Sphecid wasp
Ah nvm I see it's been reported and no one cares. For people seeing the same: https://github.com/vercel/next.js/issues/68319

Solution is unfortunately to set node image to 18. It's LTS until april 25, not sure what happens after that.
View full answer

1 Reply

Sphecid waspOP
Ah nvm I see it's been reported and no one cares. For people seeing the same: https://github.com/vercel/next.js/issues/68319

Solution is unfortunately to set node image to 18. It's LTS until april 25, not sure what happens after that.
Answer