Closed coderbyheart closed 5 months ago
I have the same issue with the envalid
npm package (https://www.npmjs.com/package/envalid). It works with 4.13.0.
I'm facing the same issue on most installed packages.
This commit has caused the issue: https://github.com/privatenumber/tsx/commit/0a78bfd11b20fcb6460fdcdea7d3b1daebfe3ad0
I created further CodeSandbox reproductions in my issue also about The requested module '...' does not provide an export named '...'
, reported over here:
I've hidden comments that aren't constructive towards fixing the issue.
If you have a similar bug, consider filing a separate issue with your own minimal reproduction. Often times, we'll address the reported issue and reports in the comments get neglected.
Please read the Contribution Guide for guidelines on commenting on Issues.
:tada: This issue has been resolved in v4.13.2
If you appreciate this project, please consider supporting this project by sponsoring :heart: :pray:
Thanks for the issue @coderbyheart! Should be fixed now ^
Acknowledgements
Minimal reproduction URL
https://github.com/coderbyheart/tsx-import-bug/actions/runs/9414431871/job/25933332684#step:5:6
Problem & expected behavior (under 200 words)
This works with 4.12.1: https://github.com/coderbyheart/tsx-import-bug/actions/runs/9414522107/job/25933611074#step:6:5
package.json
index.ts
Output
Bugs are expected to be fixed by those affected by it
Compensating engineering work financially will speed up resolution