module: add dynamic file-specific ESM warnings #67037
Annotations
2 errors and 1 notice
test-linux:
test/es-module/test-typescript-commonjs.mjs#L1
--- stderr ---
file:///home/runner/work/node/node/node/test/es-module/test-typescript-commonjs.mjs:3
import { match, strictEqual, assert } from 'node:assert';
^^^^^^
SyntaxError: The requested module 'node:assert' does not provide an export named 'assert'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:181:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:264:5)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:583:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:98:5)
Node.js v24.0.0-pre
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/es-module/test-typescript-commonjs.mjs
|
test-linux
Process completed with exit code 2.
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|