errors: add ERR_AMBIGUOUS_MODULE_SYNTAX message #70473
Annotations
2 errors and 1 notice
|
test-macOS
Process completed with exit code 2.
|
|
test-macOS:
test/es-module/test-ambiguous-module-syntax.js#L9
--- stderr ---
/Users/runner/work/node/node/node/test/common/index.js:1091
throw new Error(`Using invalid common property: '${prop}'`);
^
Error: Using invalid common property: 'skipIfESMUnsupported'
at Object.get (/Users/runner/work/node/node/node/test/common/index.js:1091:13)
at Object.<anonymous> (/Users/runner/work/node/node/node/test/es-module/test-ambiguous-module-syntax.js:9:8)
at Module._compile (node:internal/modules/cjs/loader:1760:14)
at Object..js (node:internal/modules/cjs/loader:1891:10)
at Module.load (node:internal/modules/cjs/loader:1480:32)
at Module._load (node:internal/modules/cjs/loader:1299:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47
Node.js v26.0.0-pre
Command: out/Release/node /Users/runner/work/node/node/node/test/es-module/test-ambiguous-module-syntax.js
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|