ERR_INTERNAL_ASSERTION
with Node.js >= v22.1.0 and experimental-detect-module
set
#30101
Labels
ERR_INTERNAL_ASSERTION
with Node.js >= v22.1.0 and experimental-detect-module
set
#30101
Current behavior
TypeScript project fails if
NODE_OPTIONS='--experimental-detect-module'
is set.Desired behavior
EITHER
--experimental-detect-module
OR
Test code to reproduce
Use repo https://github.com/AtofStryker/cypress-issue-30084 from @AtofStryker
Cypress Version
13.13.3
Node version
v22.1.0
-v22.6.0
For
v22.7.0
and later see #30084 where the Node.js option--experimental-detect-module
is set by defaultNot reproducible on Node.js
20.x
LTSOperating System
Ubuntu
22.04.4
LTSDebug Logs
Other
--experimental-detect-module
was introduced in Node.js 20.10.0 2023-11-22.The text was updated successfully, but these errors were encountered: