Skip to content

NodeJS ^20.16 kState issue #68319

@XEngine

Description

@XEngine

Link to the code that reproduces this issue

this is something I cant provide

To Reproduce

TypeError: controller[kState].transformAlgorithm is not a function
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:510:37)
at node:internal/webstreams/transformstream:551:16
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
digest: '882719380'
}

Since we were using node:20-alpine today's production build was went with nodeJS 20.16, after release we found increasing RAM size. I don't know what this is but there was a huge ram increase.

NodeJS do some things with kStates https://github.com/nodejs/node/pull/51168/files here I don't know if this is related.

Current vs. Expected behavior

run things normally

Provide environment information

Operating System:
  Platform: linux
  Arch: x64
  Version: #73-Ubuntu SMP Tue Apr 30 14:24:24 UTC 2024
  Available memory (MB): 6932
  Available CPU cores: 2
Binaries:
  Node: 20.16.0
  npm: 10.8.1
  Yarn: 1.22.22
  pnpm: N/A
Relevant Packages:
  next: 14.2.5 // Latest available version is detected (14.2.5).
  eslint-config-next: N/A
  react: 18.3.1
  react-dom: 18.3.1
  typescript: N/A
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

Not sure, Performance, Upstream

Which stage(s) are affected? (Select all that apply)

next start (local), Other (Deployed)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    PerformanceAnything with regards to Next.js performance.UpstreamRelated to using Next.js with a third-party dependency. (e.g., React, UI/icon libraries, etc.).bugIssue was opened via the bug report template.invalid linkThe issue was auto-closed due to a missing/invalid reproduction link. A new issue should be opened.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions