-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
Node regression in v22.14.0 resolving ESM module #57011
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
Comments
Could be related to one of #55543 #56382 or #55412 @aduh95 @JakobJingleheimer |
Also occurs on 23.7.0 (and 23.6.0) |
Here's how the module defines its exports (source):
|
The error is originating from tsconfig-paths: (which is monkey-patching CJS) Specifically, a call to |
I get the same error with a plain |
@targos that "types" key thing seems vaguely familiar. I'm adding a test for unrecognised export keys.
I believe that is because |
It's not the presence of "types" within the export: #57026 |
OH! wait, you mean any LTS version? (I just checked 22.13.1, and it repos there, which means it's not the introduction of
|
22.13.1 has always worked fine for me but I've tested it on a clean environment just to be sure.
|
Uh oh!
There was an error while loading. Please reload this page.
Version
v22.14.0
Platform
Subsystem
No response
What steps will reproduce the bug?
As the bug appears when serving an Nx Angular application there's no simple snippet to contribute.
Instead here's a minimum reproducible project repo: https://github.com/austinw-fineart/org
How often does it reproduce? Is there a required condition?
Always since v22.14.0. Last known good version was v22.13.1.
What is the expected behavior? Why is that the expected behavior?
Regression should not occur
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: