Skip to content

Conversation

@alan-agius4
Copy link
Collaborator

Resolve ERR_REQUIRE_ASYNC_MODULE when attempting to require() ESM modules in a CommonJS context.

Closes #30286

…M modules

Resolve `ERR_REQUIRE_ASYNC_MODULE` when attempting to `require()` ESM modules in a CommonJS context.

Closes angular#30286
@alan-agius4 alan-agius4 requested a review from clydin May 12, 2025 09:17
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels May 12, 2025
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels May 12, 2025
@clydin clydin merged commit 0ae9c1f into angular:main May 12, 2025
34 checks passed
@clydin
Copy link
Member

clydin commented May 12, 2025

The changes were merged into the following branches: main, 19.2.x, 20.0.x

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jun 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/cli target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ESM builder with top-level await fails to load on node ≥ 20.19.0

2 participants