Skip to content

Can't use --experimental-default-type=module option #687

Open
@kurateh

Description

@kurateh

Acknowledgements

  • I read the documentation and searched existing issues to avoid duplicates
  • I understand this is a bug tracker and anything other than a proven bug will be closed
  • I understand this is a free project and relies on community contributions
  • I read and understood the Contribution guide

Minimal reproduction URL

https://github.com/kurateh/tsx-bug-report

Problem & expected behavior (under 200 words)

  System:
    OS: macOS 15.1.1
    CPU: (8) arm64 Apple M1 Pro
  Binaries:
    Node: 22.11.0 - ~/.nvm/versions/node/v22.11.0/bin/node
  npmPackages:
    tsx: ^4.19.2 => 4.19.2

tsx with --experimental-default-type=module emits The resolveSync() method is not implemented error.

Bugs are expected to be fixed by those affected by it

  • I'm interested in working on this issue

Compensating engineering work will speed up resolution and support the project

  • I'm willing to offer $10 for financial support

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions