Skip to content

Conversation

@samuelhnrq
Copy link
Contributor

@samuelhnrq samuelhnrq commented Jul 10, 2025

Fixes: #5396

PR Checklist

Overview

The fix landed in node js main nodejs/node#58957 I belive we now should update the ESM support section of the documentation since this error has been affecting even node LTS. I took the liberty to guess the next node.js version, shouldn't matter if they skip the 24.4.1 patch straight to a new minor, the point will still stand.

I was intentionally vague in the problem description and proposed workaround, and left a link to the original issue so if the person is curious to learn more / understand how the fix works. I want to optimize for the quick answers crowd, the curious crowd can delight itself reading the original issue.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jul 10, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: samuelhnrq / name: Samuel Henrique (a22e30f)

Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A good start! WDYT about these touchups?

@JoshuaKGoldberg JoshuaKGoldberg added the status: waiting for author waiting on response from OP or other posters - more information needed label Jul 10, 2025
Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌

@JoshuaKGoldberg JoshuaKGoldberg removed the status: waiting for author waiting on response from OP or other posters - more information needed label Jul 10, 2025
@mark-wiemer
Copy link
Member

@JoshuaKGoldberg I think we can merge this, the "compliance" check is failing but things look OK to me, it looks like it was a transient issue

@JoshuaKGoldberg JoshuaKGoldberg merged commit 09f5b2c into mochajs:main Jul 15, 2025
74 of 76 checks passed
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.

📝 Docs: Mention top level ESM errors get swallowed and do not fail the suite in certain Node.js versions

3 participants