-
-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ESM / Node v22] Broken import of a correctly bundled library #553
Comments
Your reproduction seems to show a different error than what you're reporting:
Is there a reason why you're using an outdated version of tsx (v3.12.1) when your report says v4.10.2? And are all the files and deps necessary? For example Providing a minimal reproduction is important for saving each other time. Please let me know when it's ready and I'll re-open this issue. |
@privatenumber sorry for this, I created a proper repro on Github as I can't enforce node version on StackBlitz. |
Duplicate of #38 |
Acknowledgements
Minimal reproduction URL
https://github.com/damianobarbati/tsx-bug
How to reproduce:
git clone https://github.com/damianobarbati/tsx-bug cd tsx-bug nvm install npm install -g yarn yarn install yarn start
Result:
Expected:
Code is simple:
Tried both the following tsconfig.json:
and
Version
v4.10.2
Node.js version
v22.1
Package manager
yarn
Operating system
macOS
The text was updated successfully, but these errors were encountered: