Skip to content

node 22.18 breaks npm package because of experimental-strip-types enabled #59364

@tbowmo

Description

@tbowmo

Version

v22.18.0

Platform

Linux / Windows / Azure devops build agents

Subsystem

No response

What steps will reproduce the bug?

After updating to node22.18 we see issues with builds. Looking through the change notes, I see that it now has enabled an experimental feature, and we now to have to add --no-experimental... to the command line in order to run our code in nodejs.

How often does it reproduce? Is there a required condition?

consistently failure in our CI pipelines unless --no-experimental-strip-types is added to node cli

What is the expected behavior? Why is that the expected behavior?

minor releases should not add experimental features to an existing lts version

What do you see instead?

Failing builds using node 22.18 (working fine with node 22.17)

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    strip-typesIssues or PRs related to strip-types support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions