Skip to content

DEP0205 under Node.js 26 with corepack yarn build #838

Description

@MikeMcC399

corepack yarn build outputs the following under Node.js 26.0.0:

(node:2513) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
All shims have been generated.

This is due to tsx and I already reported this separately under privatenumber/tsx#791

Originally posted by @MikeMcC399 in #830

Issue privatenumber/tsx#791 is resolved by tsx@4.21.1

Corepack would need to upgrade. Currently https://github.com/privatenumber/tsx/releases shows 4.22.0 as the latest release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions