-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
TypeError: Cannot read property 'ColumnNames' of undefined #909
Comments
The problem happens when The way node works is that the So this should be considered a bug in esbuild in that the behavior isn't matching node. But it's not super straightforward to fix this because a trivial fix would break esbuild's ESM-to-CommonJS transform which esbuild relies on internally. Webpack has an approach where they try to support both of these behaviors and use heuristics to determine which approach to apply when. I assume esbuild will have to do something like that. |
Sure, sounds good. I greatly appreciate having a real-world example of this problem in practice though. So thank you very much for taking the time to put together a repro. |
Closing in favor of #532. |
I believe this should be working now as of version 0.8.55. Please let me know if that's not the case. |
That does indeed fix the issue! Thank you so much for fixing this so quickly! |
I am not sure if the issue is with
esbuild
or the underlying library, but I am running into a peculiar error for which I have a repro here:https://github.com/moltar/zapatos-issue-10
Transpiling with
tsc
works fine.Reference issue in the library repo: jawj/zapatos#75
Thank you!
The text was updated successfully, but these errors were encountered: