Skip to content

tsImport returning cached module #825

Description

@overlord-303

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/overlord-303/tsx-tsimport-repro

Problem & expected behavior (under 200 words)

Please ignore the GitHub Action "tsImport reproduction / Built Node 24.18.0 Bookworm image (push)" as it failed from my own stupidity, although the other tests replicate the issue.

This issue was hard(er) to re-produce on Github Actions; I have the issue on all local devices (CachyOS Desktop, Fedora Laptop) and my server (Ubuntu) where it usually fails around iteration 3 - 5.

I had the cache issue happening without a loop as well, I just used it to demonstrate it happening.

Issue based on the TSX Docs.

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