Multiple requires of Node.js modules in non :nodejs target are not idempotent at the REPL

Description

Given the following setup:

Under a REPL when the target is not the Node.js the following behavior is observed:

Will succeed the first time. The same require a second time produce the following stack trace:

Environment

None

Assignee

Unassigned

Reporter

David Nolen

Labels

Approval

Vetted

Patch

None

Fix versions

Affects versions

Priority

Blocker
Configure