Skip to content

Conversation

@thecrypticace
Copy link
Contributor

@thecrypticace thecrypticace commented Nov 5, 2025

There's a race condition inside Node.js when multiple modules are involved and await import(…) is used alongside require(esm).

Fixes #411 — not our bug. Still worth landing this PR though. See #411 (comment)

@thecrypticace thecrypticace marked this pull request as ready for review November 5, 2025 20:30
@thecrypticace thecrypticace merged commit 908f169 into main Nov 5, 2025
1 check passed
@thecrypticace thecrypticace deleted the fix/issue-411 branch November 5, 2025 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Cannot require() ES Module" when using Node 22 and @trivago/prettier-plugin-sort-imports

2 participants