lib: fix TypeScript support check in jitless mode #79737
Triggered via pull request
January 14, 2026 14:07
Status
Cancelled
Total duration
29m 19s
Artifacts
–
Annotations
13 errors and 2 notices
|
test-linux (ubuntu-24.04-arm):
test/test-runner/test-output-typescript-coverage.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'node:internal/modules/typescript:50\n' +
+ ' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
+ ' ^\n' +
+ '\n' +
+ 'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
+ ' *\n' +
+ ' *\n' +
+ ' *\n' +
+ ' *\n' +
+ ' *\n' +
+ ' *\n' +
+ ' *\n' +
+ ' *\n' +
+ ' *\n' +
+ ' * {\n' +
+ " code: 'ERR_WEBASSEMBLY_NOT_SUPPORTED'\n" +
+ '}\n' +
+ '\n' +
+ 'Node.js v26.0.0-pre\n'
- 'TAP version 13\n' +
- '# Subtest: foo\n' +
- ' # Subtest: should do the thing\n' +
- ' ok 1 - should do the thing\n' +
- ' ---\n' +
- ' duration_ms: *\n' +
- " type: 'test'\n" +
- ' ...\n' +
- ' 1..1\n' +
- 'ok 1 - foo\n' +
- ' ---\n' +
- ' duration_ms: *\n' +
- " type: 'suite'\n" +
- ' ...\n' +
- '1..1\n' +
- '# tests 1\n' +
- '# suites 1\n' +
- '# pass 1\n' +
- '# fail 0\n' +
- '# cancelled 0\n' +
- '# skipped 0\n' +
- '# todo 0\n' +
- '# duration_ms *\n' +
- '# start of coverage report\n' +
- '# ----------------------------------------------------------------------------\n' +
- '# file | line % | branch % | funcs % | uncovered lines\n' +
- '# ----------------------------------------------------------------------------\n' +
- '# test | | | | \n' +
- '# fixtures | | | | \n' +
- '# test-runner | | | | \n' +
- '# coverage | | | | \n' +
- '# bar.mts | 33.33 | 100.00 | 0.00 | 2-3\n' +
- '# foo.mts | 100.00 | 100.00 | 100.00 | \n' +
- '# output | | | | \n' +
- '# typescript-coverage.mts | 100.00 | 100.00 | 100.00 | \n' +
- '# ----------------------------------------------------------------------------\n' +
- '# all files | 93.55 | 100.00 | 85.71 | \n' +
- '# ----------------------------------------------------------------------------\n' +
- '# end of coverage report\n'
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:66:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:101:3)
at async file:///home/runner/work/node/node/node/test/test-runner/test-output-typescript-coverage.mjs:15:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/modules/typescript:50\n' +
' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
' ^\n' +
'\n' +
'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
' *\n' +
' *\n' +
' *\n' +
' *\n' +
' *\n' +
' *\n' +
' *\n' +
' *\n' +
' *\n' +
' * {\n' +
" code: 'ERR_WEBASSEMBLY_NOT_SUPPORTED'\n" +
'}\n' +
'\n' +
'Node.js v26.0.0-pre\n',
expected: 'TAP version 13\n' +
'# Subtest: foo\n' +
' # Subtest: should do the thing\n' +
' ok 1 - should do the thing\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' 1..1\n' +
'ok 1 - foo\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'suite'\n" +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 1\n' +
'# pass 1\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n' +
'# start of coverage report\n' +
'# ----------------------------------------------------------------------------\n' +
'# file | line % | branch % | funcs % | uncovered lines\n' +
'# ----------------------------------------------------------------------------\n' +
'# test
|
|
test-linux (ubuntu-24.04-arm):
test/es-module/test-typescript-transform.mjs#L15
--- stdout ---
Test failure: 'execute a TypeScript file with transformation enabled'
Location: test/es-module/test-typescript-transform.mjs:8:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'node:internal/modules/typescript:50\n' +
+ ' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
+ ' ^\n' +
+ '\n' +
+ 'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
+ ' at node:internal/modules/typescript:50:11\n' +
+ ' at node:internal/util:814:15\n' +
+ ' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
+ ' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
+ ' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
+ ' at Module._compile (node:internal/modules/cjs/loader:1755:15)\n' +
+ ' at Object..js (node:internal/modules/cjs/loader:1934:10)\n' +
+ ' at Module.load (node:internal/modules/cjs/loader:1524:32)\n' +
+ ' at Module._load (node:internal/modules/cjs/loader:1326:12)\n' +
+ ' at TracingChannel.traceSync (node:diagnostics_channel:328:14) {\n' +
+ " code: 'ERR_WEBASSEMBLY_NOT_SUPPORTED'\n" +
+ '}\n' +
+ '\n' +
+ 'Node.js v26.0.0-pre\n'
- ''
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-typescript-transform.mjs:15:10)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1102:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/modules/typescript:50\n' +
' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
' ^\n' +
'\n' +
'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
' at node:internal/modules/typescript:50:11\n' +
' at node:internal/util:814:15\n' +
' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
'...',
expected: '',
operator: 'strictEqual',
diff: 'simple'
}
Test failure: 'reconstruct error of a TypeScript file with transformation enabled and sourcemaps'
Location: test/es-module/test-typescript-transform.mjs:20:1
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /test-enum-stacktrace\.ts:4:7/. Input:
'node:internal/modules/typescript:50\n' +
' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
' ^\n' +
'\n' +
'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
' at node:internal/modules/typescript:50:11\n' +
' at node:internal/util:814:15\n' +
' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1755:15)\n' +
' at Object..js (node:internal/modules/cjs/loader:1934:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:1524:32)\n' +
' at Module._load (node:internal/modules/cjs/loader:1326:12)\n' +
' at TracingChannel.traceSync (node:diagnostics_channel:328:14) {\n' +
" code: 'ERR_WEBASSEMBLY_NOT_SUPPORTED'\n" +
'}\n' +
'\n' +
'Node.js v26.0.0-pre\n'
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-typescript-transform.mjs:27:10)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1102:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/modules/typescript:50\n' +
' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
' ^\n' +
'\n' +
'Error
|
|
test-linux (ubuntu-24.04-arm):
test/es-module/test-typescript.mjs#L38
--- stdout ---
Test failure: 'execute a TypeScript file'
Location: test/es-module/test-typescript.mjs:33:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'node:internal/modules/typescript:50\n' +
+ ' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
+ ' ^\n' +
+ '\n' +
+ 'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
+ ' at node:internal/modules/typescript:50:11\n' +
+ ' at node:internal/util:814:15\n' +
+ ' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
+ ' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
+ ' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
+ ' at Module._compile (node:internal/modules/cjs/loader:1755:15)\n' +
+ ' at Object..js (node:internal/modules/cjs/loader:1934:10)\n' +
+ ' at Module.load (node:internal/modules/cjs/loader:1524:32)\n' +
+ ' at Module._load (node:internal/modules/cjs/loader:1326:12)\n' +
+ ' at TracingChannel.traceSync (node:diagnostics_channel:328:14) {\n' +
+ " code: 'ERR_WEBASSEMBLY_NOT_SUPPORTED'\n" +
+ '}\n' +
+ '\n' +
+ 'Node.js v26.0.0-pre\n'
- ''
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-typescript.mjs:38:10)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1102:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/modules/typescript:50\n' +
' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
' ^\n' +
'\n' +
'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
' at node:internal/modules/typescript:50:11\n' +
' at node:internal/util:814:15\n' +
' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
'...',
expected: '',
operator: 'strictEqual',
diff: 'simple'
}
Test failure: 'execute a TypeScript file with imports'
Location: test/es-module/test-typescript.mjs:43:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'node:internal/modules/typescript:50\n' +
+ ' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
+ ' ^\n' +
+ '\n' +
+ 'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
+ ' at node:internal/modules/typescript:50:11\n' +
+ ' at node:internal/util:814:15\n' +
+ ' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
+ ' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
+ ' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
+ ' at Module._compile (node:internal/modules/cjs/loader:1755:15)\n' +
+ ' at Object..js (node:internal/modules/cjs/loader:1934:10)\n' +
+ ' at Module.load (node:internal/modules/cjs/loader:1524:32)\n' +
+ ' at Module._load (node:internal/modules/cjs/loader:1326:12)\n' +
+ ' at TracingChannel.traceSync (node:diagnostics_channel:328:14) {\n' +
+ " code: 'ERR_WEBASSEMBLY_NOT_SUPPORTED'\n" +
+ '}\n' +
+ '\n' +
+ 'Node.js v26.0.0-pre\n'
- ''
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-typescript.mjs:49:10)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1102:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/modules/typescript:50\n' +
' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
' ^\n' +
'\n' +
'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
' at node:internal/modu
|
|
test-linux (ubuntu-24.04-arm):
test/es-module/test-typescript-eval.mjs#L14
--- stdout ---
Test failure: 'eval TypeScript ESM syntax'
Location: test/es-module/test-typescript-eval.mjs:7:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'node:internal/modules/typescript:50\n' +
+ ' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
+ ' ^\n' +
+ '\n' +
+ 'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
+ ' at node:internal/modules/typescript:50:11\n' +
+ ' at node:internal/util:814:15\n' +
+ ' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
+ ' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
+ ' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
+ ' at node:internal/process/execution:324:34\n' +
+ ' at asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:11)\n' +
+ ' at Object.runEntryPointWithESMLoader (node:internal/modules/run_main:123:19)\n' +
+ ' at evalTypeScriptModuleEntryPoint (node:internal/process/execution:315:47)\n' +
+ ' at evalTypeScript (node:internal/process/execution:253:12) {\n' +
+ " code: 'ERR_WEBASSEMBLY_NOT_SUPPORTED'\n" +
+ '}\n' +
+ '\n' +
+ 'Node.js v26.0.0-pre\n'
- ''
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-typescript-eval.mjs:14:10)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1102:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/modules/typescript:50\n' +
' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
' ^\n' +
'\n' +
'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
' at node:internal/modules/typescript:50:11\n' +
' at node:internal/util:814:15\n' +
' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
'...',
expected: '',
operator: 'strictEqual',
diff: 'simple'
}
Test failure: 'eval TypeScript ESM syntax with input-type module'
Location: test/es-module/test-typescript-eval.mjs:19:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'node:internal/modules/typescript:50\n' +
+ ' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
+ ' ^\n' +
+ '\n' +
+ 'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
+ ' at node:internal/modules/typescript:50:11\n' +
+ ' at node:internal/util:814:15\n' +
+ ' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
+ ' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
+ ' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
+ ' at parseAndEvalModuleTypeScript (node:internal/process/execution:355:26)\n' +
+ ' at node:internal/main/eval_string:39:3 {\n' +
+ " code: 'ERR_WEBASSEMBLY_NOT_SUPPORTED'\n" +
+ '}\n' +
+ '\n' +
+ 'Node.js v26.0.0-pre\n'
- ''
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-typescript-eval.mjs:27:10)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1102:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/modules/typescript:50\n' +
' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
' ^\n' +
'\n' +
'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
' at node:internal/modules/typescript:50:11\n' +
' at node:internal/util:814:15\n' +
' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
' a
|
|
test-linux (ubuntu-24.04-arm):
test/es-module/test-typescript-module.mjs#L14
--- stdout ---
Test failure: 'expect failure of a .mts file with CommonJS syntax'
Location: test/es-module/test-typescript-module.mjs:8:1
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /require is not defined in ES module scope, you can use import instead/. Input:
'node:internal/modules/typescript:50\n' +
' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
' ^\n' +
'\n' +
'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
' at node:internal/modules/typescript:50:11\n' +
' at node:internal/util:814:15\n' +
' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
' at ModuleLoader.<anonymous> (node:internal/modules/esm/translators:667:29)\n' +
' at #translate (node:internal/modules/esm/loader:467:20)\n' +
' at afterLoad (node:internal/modules/esm/loader:523:29)\n' +
' at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:528:12)\n' +
' at #getOrCreateModuleJobAfterResolve (node:internal/modules/esm/loader:565:36) {\n' +
" code: 'ERR_WEBASSEMBLY_NOT_SUPPORTED'\n" +
'}\n' +
'\n' +
'Node.js v26.0.0-pre\n'
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-typescript-module.mjs:14:10)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1102:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/modules/typescript:50\n' +
' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
' ^\n' +
'\n' +
'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
' at node:internal/modules/typescript:50:11\n' +
' at node:internal/util:814:15\n' +
' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
'...',
expected: /require is not defined in ES module scope, you can use import instead/,
operator: 'match',
diff: 'simple'
}
Test failure: 'execute an .mts file importing an .mts file'
Location: test/es-module/test-typescript-module.mjs:18:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'node:internal/modules/typescript:50\n' +
+ ' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
+ ' ^\n' +
+ '\n' +
+ 'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
+ ' at node:internal/modules/typescript:50:11\n' +
+ ' at node:internal/util:814:15\n' +
+ ' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
+ ' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
+ ' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
+ ' at ModuleLoader.<anonymous> (node:internal/modules/esm/translators:667:29)\n' +
+ ' at #translate (node:internal/modules/esm/loader:467:20)\n' +
+ ' at afterLoad (node:internal/modules/esm/loader:523:29)\n' +
+ ' at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:528:12)\n' +
+ ' at #getOrCreateModuleJobAfterResolve (node:internal/modules/esm/loader:565:36) {\n' +
+ " code: 'ERR_WEBASSEMBLY_NOT_SUPPORTED'\n" +
+ '}\n' +
+ '\n' +
+ 'Node.js v26.0.0-pre\n'
- ''
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-typescript-module.mjs:23:10)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1102:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) {
generatedMessage: true,
code: 'ERR_ASSERT
|
|
test-linux (ubuntu-24.04-arm):
test/es-module/test-typescript-commonjs.mjs#L17
--- stdout ---
Test failure: 'require a .ts file with explicit extension succeeds'
Location: test/es-module/test-typescript-commonjs.mjs:8:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'node:internal/modules/typescript:50\n' +
+ ' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
+ ' ^\n' +
+ '\n' +
+ 'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
+ ' at node:internal/modules/typescript:50:11\n' +
+ ' at node:internal/util:814:15\n' +
+ ' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
+ ' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
+ ' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
+ ' at Module._compile (node:internal/modules/cjs/loader:1755:15)\n' +
+ ' at Object..js (node:internal/modules/cjs/loader:1934:10)\n' +
+ ' at Module.load (node:internal/modules/cjs/loader:1524:32)\n' +
+ ' at Module._load (node:internal/modules/cjs/loader:1326:12)\n' +
+ ' at TracingChannel.traceSync (node:diagnostics_channel:328:14) {\n' +
+ " code: 'ERR_WEBASSEMBLY_NOT_SUPPORTED'\n" +
+ '}\n' +
+ '\n' +
+ 'Node.js v26.0.0-pre\n'
- ''
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-typescript-commonjs.mjs:17:10)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1102:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/modules/typescript:50\n' +
' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
' ^\n' +
'\n' +
'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
' at node:internal/modules/typescript:50:11\n' +
' at node:internal/util:814:15\n' +
' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
'...',
expected: '',
operator: 'strictEqual',
diff: 'simple'
}
Test failure: 'require a .ts file with implicit extension fails'
Location: test/es-module/test-typescript-commonjs.mjs:50:1
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Error: Cannot find module/. Input:
'node:internal/modules/typescript:50\n' +
' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
' ^\n' +
'\n' +
'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
' at node:internal/modules/typescript:50:11\n' +
' at node:internal/util:814:15\n' +
' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1755:15)\n' +
' at Object..js (node:internal/modules/cjs/loader:1934:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:1524:32)\n' +
' at Module._load (node:internal/modules/cjs/loader:1326:12)\n' +
' at TracingChannel.traceSync (node:diagnostics_channel:328:14) {\n' +
" code: 'ERR_WEBASSEMBLY_NOT_SUPPORTED'\n" +
'}\n' +
'\n' +
'Node.js v26.0.0-pre\n'
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-typescript-commonjs.mjs:57:10)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1102:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/modules/typescript:50\n' +
' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
' ^\n' +
'\n' +
'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssemb
|
|
test-linux (ubuntu-24.04-arm):
test/es-module/test-esm-tla-syntax-errors-not-recognized-as-tla-error.mjs#L72
--- stdout ---
Test failure: 'should throw the error for unrelated syntax errors'
Location: test/es-module/test-esm-tla-syntax-errors-not-recognized-as-tla-error.mjs:52:3
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /missing \) after argument list/. Input:
'node:internal/process/execution:279\n' +
' throw tsError;\n' +
' ^\n' +
'\n' +
'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
' at node:internal/modules/typescript:50:11\n' +
' at node:internal/util:814:15\n' +
' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
' at evalTypeScript (node:internal/process/execution:263:21)\n' +
' at node:internal/main/eval_string:71:3 {\n' +
" code: 'ERR_WEBASSEMBLY_NOT_SUPPORTED'\n" +
'}\n' +
'\n' +
'Node.js v26.0.0-pre\n'
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-esm-tla-syntax-errors-not-recognized-as-tla-error.mjs:72:14)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1102:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:777:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/process/execution:279\n' +
' throw tsError;\n' +
' ^\n' +
'\n' +
'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
' at node:internal/modules/typescript:50:11\n' +
' at node:internal/util:814:15\n' +
' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
'...',
expected: /missing \) after argument list/,
operator: 'match',
diff: 'simple'
}
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/es-module/test-esm-tla-syntax-errors-not-recognized-as-tla-error.mjs
|
|
test-linux (ubuntu-24.04-arm):
test/es-module/test-esm-loader-entry-url.mjs#L16
--- stdout ---
Test failure: 'should support loading TypeScript URLs'
Location: test/es-module/test-esm-loader-entry-url.mjs:81:3
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Hello, TypeScript!/. Input:
''
at assertSpawnedProcess (file:///home/runner/work/node/node/node/test/es-module/test-esm-loader-entry-url.mjs:16:12)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-esm-loader-entry-url.mjs:88:7)
at async Test.run (node:internal/test_runner/test:1102:7)
at async Promise.all (index 5)
at async Suite.run (node:internal/test_runner/test:1507:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '',
expected: /Hello, TypeScript!/,
operator: 'match',
diff: 'simple'
}
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/es-module/test-esm-loader-entry-url.mjs
|
|
test-linux (ubuntu-24.04-arm):
test/es-module/test-esm-import-meta-main-eval.mjs#L95
--- stdout ---
Test failure: 'should evaluate true in evaluated script'
Location: test/es-module/test-esm-import-meta-main-eval.mjs:90:3
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
{
+ code: 1,
- code: 0,
signal: null,
+ stderr: 'node:internal/modules/typescript:50\n' +
+ ' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
+ ' ^\n' +
+ '\n' +
+ 'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
+ ' at node:internal/modules/typescript:50:11\n' +
+ ' at node:internal/util:814:15\n' +
+ ' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
+ ' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
+ ' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
+ ' at parseAndEvalModuleTypeScript (node:internal/process/execution:355:26)\n' +
+ ' at node:internal/main/eval_string:39:3 {\n' +
+ " code: 'ERR_WEBASSEMBLY_NOT_SUPPORTED'\n" +
+ '}\n' +
+ '\n' +
+ 'Node.js v26.0.0-pre\n',
- stderr: '',
stdout: ''
}
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-esm-import-meta-main-eval.mjs:95:12)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1102:7)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1507:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [Object],
expected: [Object],
operator: 'deepStrictEqual',
diff: 'simple'
}
Test failure: 'should evaluate true in worker instantiated with module source by evaluated script'
Location: test/es-module/test-esm-import-meta-main-eval.mjs:103:3
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
{
+ code: 1,
- code: 0,
signal: null,
+ stderr: 'node:internal/modules/typescript:50\n' +
+ ' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
+ ' ^\n' +
+ '\n' +
+ 'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
+ ' at node:internal/modules/typescript:50:11\n' +
+ ' at node:internal/util:814:15\n' +
+ ' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
+ ' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
+ ' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
+ ' at parseAndEvalModuleTypeScript (node:internal/process/execution:355:26)\n' +
+ ' at node:internal/main/eval_string:39:3 {\n' +
+ " code: 'ERR_WEBASSEMBLY_NOT_SUPPORTED'\n" +
+ '}\n' +
+ '\n' +
+ 'Node.js v26.0.0-pre\n',
- stderr: '',
stdout: ''
}
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-esm-import-meta-main-eval.mjs:111:12)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1102:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:777:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [Object],
expected: [Object],
operator: 'deepStrictEqual',
diff: 'simple'
}
Test failure: 'should evaluate true in worker instantiated with `data:` URL by evaluated script'
Location: test/es-module/test-esm-import-meta-main-eval.mjs:119:3
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
{
+ code: 1,
- code: 0,
signal: null,
+ stderr: 'node:internal/modules/typescript:50\n' +
+ ' throw new ERR_WEBASSEMBLY_NOT_SUPPORTED();\n' +
+ ' ^\n' +
+ '\n' +
+ 'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
+ ' at node:internal/modules/typescript:50:11\n' +
+ ' at node:internal/util:814:15\n' +
+ ' at parseTypeScript (node:inte
|
|
test-linux (ubuntu-24.04-arm):
test/es-module/test-esm-detect-ambiguous.mjs#L272
--- stdout ---
Test failure: 'still throws on `await` in an ordinary sync function'
Location: test/es-module/test-esm-detect-ambiguous.mjs:266:5
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /SyntaxError: await is only valid in async function/. Input:
'node:internal/process/execution:279\n' +
' throw tsError;\n' +
' ^\n' +
'\n' +
'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
' at node:internal/modules/typescript:50:11\n' +
' at node:internal/util:814:15\n' +
' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
' at evalTypeScript (node:internal/process/execution:263:21)\n' +
' at node:internal/main/eval_string:71:3 {\n' +
" code: 'ERR_WEBASSEMBLY_NOT_SUPPORTED'\n" +
'}\n' +
'\n' +
'Node.js v26.0.0-pre\n'
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-esm-detect-ambiguous.mjs:272:14)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1102:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:777:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/process/execution:279\n' +
' throw tsError;\n' +
' ^\n' +
'\n' +
'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
' at node:internal/modules/typescript:50:11\n' +
' at node:internal/util:814:15\n' +
' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
'...',
expected: /SyntaxError: await is only valid in async function/,
operator: 'match',
diff: 'simple'
}
Test failure: 'still throws on double `const` declaration not at the top level'
Location: test/es-module/test-esm-detect-ambiguous.mjs:317:5
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /SyntaxError: Identifier 'require' has already been declared/. Input:
'node:internal/process/execution:279\n' +
' throw tsError;\n' +
' ^\n' +
'\n' +
'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
' at node:internal/modules/typescript:50:11\n' +
' at node:internal/util:814:15\n' +
' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
' at evalTypeScript (node:internal/process/execution:263:21)\n' +
' at node:internal/main/eval_string:71:3 {\n' +
" code: 'ERR_WEBASSEMBLY_NOT_SUPPORTED'\n" +
'}\n' +
'\n' +
'Node.js v26.0.0-pre\n'
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-esm-detect-ambiguous.mjs:323:14)
at async Test.run (node:internal/test_runner/test:1102:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:777:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/process/execution:279\n' +
' throw tsError;\n' +
' ^\n' +
'\n' +
'Error [ERR_WEBASSEMBLY_NOT_SUPPORTED]: WebAssembly is not supported\n' +
' at node:internal/modules/typescript:50:11\n' +
' at node:internal/util:814:15\n' +
' at parseTypeScript (node:internal/modules/typescript:63:17)\n' +
' at processTypeScriptCode (node:internal/modules/typescript:151:42)\n' +
' at stripTypeScriptModuleTypes (node:internal/modules/typescript:214:22)\n' +
'...',
expected: /SyntaxError: Identifier 'require' has already been declared/,
operator: 'match',
diff: 'simple'
}
Command: out/Release/node --test-reporter=./test/c
|
|
test-linux (ubuntu-24.04)
Canceling since a higher priority waiting request for Test Linux-fix-jitless-typescript-error exists
|
|
test-linux (ubuntu-24.04)
The operation was canceled.
|
|
Test Linux
Canceling since a higher priority waiting request for Test Linux-fix-jitless-typescript-error exists
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|