Skip to content

Flake: typeless_package_ts_with_cjs_syntax_loads_as_cjs on Node 20.11 (ERR_INTERNAL_ASSERTION) #706

Description

@colinhacks

Failed on Test (ubuntu-latest, node 20.11) in https://github.com/nubjs/nub/actions/runs/31321866733/job/93266014376, green on re-run. Node raises ERR_INTERNAL_ASSERTION from its own ModuleJob.runSync loading tests/fixtures/module-format/notype/cjs.ts.

feature_matrix.rs:320 injects --experimental-detect-module on [20.10.0, 20.19.0) and the preload rides --import. That pair is nodejs/node#54577 and nodejs/node#55500, which fire depending on module load order.

The fixture ran 10/10 green locally on Node 20.11.0. Found while landing #705; not caused by it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions