I'm building a simple reproduction repo. I'll update this issue as soon as I have it
Problem & expected behavior (under 200 words)
I updated from tsx 4.11.0 to 4.13.1, and then started to get errors like SyntaxError: The requested module 'esbuild' does not provide an export named 'build' or SyntaxError: The requested module 'remix-auth' does not provide an export named 'Authenticator' when running tsx some-script.ts.
Acknowledgements
Minimal reproduction URL
I'm building a simple reproduction repo. I'll update this issue as soon as I have it
Problem & expected behavior (under 200 words)
I updated from tsx 4.11.0 to 4.13.1, and then started to get errors like
SyntaxError: The requested module 'esbuild' does not provide an export named 'build'
orSyntaxError: The requested module 'remix-auth' does not provide an export named 'Authenticator'
when runningtsx some-script.ts
.I went back individual versions until I was able to see everything works as expected with v4.13.0, but it fails with v4.13.1, so I guess the regression should be in https://github.com/privatenumber/tsx/commit/0a78bfd11b20fcb6460fdcdea7d3b1daebfe3ad0
Bugs are expected to be fixed by those affected by it
Compensating engineering work financially will speed up resolution