Skip to content

module: show user location for missing module errors, resolve #38892 #5770

module: show user location for missing module errors, resolve #38892

module: show user location for missing module errors, resolve #38892 #5770

Triggered via pull request April 22, 2026 10:18
Status Failure
Total duration 42m 48s
Artifacts 1

test-shared.yml

on: pull_request
Build slim tarball
2m 12s
Build slim tarball
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

12 errors
aarch64-linux: with shared libraries
Process completed with exit code 2.
aarch64-linux: with shared libraries: test/es-module/test-esm-cjs-named-error.mjs#L27
--- stderr --- node:internal/modules/run_main:107 triggerUncaughtException( ^ AssertionError [ERR_ASSERTION]: should support relative specifiers with single quotes at async file:///home/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/es-module/test-esm-cjs-named-error.mjs:26:1 { generatedMessage: false, code: 'ERR_ASSERTION', actual: ReferenceError: RegExpPrototypeSymbolReplace is not defined at #asyncInstantiate (node:internal/modules/esm/module_job:427:43) at async ModuleJob.run (node:internal/modules/esm/module_job:500:5) at async node:internal/modules/esm/loader:716:26 at async assert.rejects.name (file:///home/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/es-module/test-esm-cjs-named-error.mjs:27:3) at async waitForActual (node:assert:615:5) at async assert.rejects (node:assert:738:25) at async file:///home/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/es-module/test-esm-cjs-named-error.mjs:26:1, expected: { name: 'SyntaxError', message: "Named export 'comeOn' not found. The requested module './fail.cjs' is a CommonJS module, which may not support all module.exports as named exports.\n" + 'CommonJS modules can always be imported via the default export, for example using:\n' + '\n' + "import pkg from './fail.cjs';\n" + 'const { comeOn } = pkg;\n' }, operator: 'rejects', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/es-module/test-esm-cjs-named-error.mjs
aarch64-linux: with shared libraries: test/parallel/test-bootstrap-modules.js#L264
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: These builtins are now unexpectedly loaded before pre-execution. If this is intentional, add them to `expected.beforePreExec`. # Note: loading more builtins before pre-execution can lead to startup performance regression or invalid snapshots. - Consider lazy loading builtins that are not used universally. - Make sure that the builtins do not access environment dependent states e.g. command line arguments or environment variables during loading. - When in doubt, ask @nodejs/startup. --- These could be added to expected.beforePreExec --- [ 'NativeModule internal/errors/error_source' ] 9 !== 0 at Object.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/parallel/test-bootstrap-modules.js:264:8) at Module._compile (node:internal/modules/cjs/loader:1888:14) at Object..js (node:internal/modules/cjs/loader:2030:10) at Module.load (node:internal/modules/cjs/loader:1611:32) at Module._load (node:internal/modules/cjs/loader:1358:12) at wrapModuleLoad (node:internal/modules/cjs/loader:259:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) at node:internal/main/run_main_module:33:47 { generatedMessage: false, code: 'ERR_ASSERTION', actual: 9, expected: 0, operator: 'strictEqual', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/parallel/test-bootstrap-modules.js
aarch64-darwin: with shared libraries
Process completed with exit code 2.
aarch64-darwin: with shared libraries: test/es-module/test-esm-cjs-named-error.mjs#L27
--- stderr --- node:internal/modules/run_main:107 triggerUncaughtException( ^ AssertionError [ERR_ASSERTION]: should support relative specifiers with single quotes at async file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/es-module/test-esm-cjs-named-error.mjs:26:1 { generatedMessage: false, code: 'ERR_ASSERTION', actual: ReferenceError: RegExpPrototypeSymbolReplace is not defined at #asyncInstantiate (node:internal/modules/esm/module_job:427:43) at async ModuleJob.run (node:internal/modules/esm/module_job:500:5) at async node:internal/modules/esm/loader:716:26 at async assert.rejects.name (file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/es-module/test-esm-cjs-named-error.mjs:27:3) at async waitForActual (node:assert:615:5) at async assert.rejects (node:assert:738:25) at async file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/es-module/test-esm-cjs-named-error.mjs:26:1, expected: { name: 'SyntaxError', message: "Named export 'comeOn' not found. The requested module './fail.cjs' is a CommonJS module, which may not support all module.exports as named exports.\n" + 'CommonJS modules can always be imported via the default export, for example using:\n' + '\n' + "import pkg from './fail.cjs';\n" + 'const { comeOn } = pkg;\n' }, operator: 'rejects', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node /Users/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/es-module/test-esm-cjs-named-error.mjs
aarch64-darwin: with shared libraries: test/parallel/test-bootstrap-modules.js#L264
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: These builtins are now unexpectedly loaded before pre-execution. If this is intentional, add them to `expected.beforePreExec`. # Note: loading more builtins before pre-execution can lead to startup performance regression or invalid snapshots. - Consider lazy loading builtins that are not used universally. - Make sure that the builtins do not access environment dependent states e.g. command line arguments or environment variables during loading. - When in doubt, ask @nodejs/startup. --- These could be added to expected.beforePreExec --- [ 'NativeModule internal/errors/error_source' ] 9 !== 0 at Object.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/parallel/test-bootstrap-modules.js:264:8) at Module._compile (node:internal/modules/cjs/loader:1888:14) at Object..js (node:internal/modules/cjs/loader:2030:10) at Module.load (node:internal/modules/cjs/loader:1611:32) at Module._load (node:internal/modules/cjs/loader:1358:12) at wrapModuleLoad (node:internal/modules/cjs/loader:259:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) at node:internal/main/run_main_module:33:47 { generatedMessage: false, code: 'ERR_ASSERTION', actual: 9, expected: 0, operator: 'strictEqual', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node /Users/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/parallel/test-bootstrap-modules.js
x86_64-linux: with shared libraries
Process completed with exit code 2.
x86_64-linux: with shared libraries: test/es-module/test-esm-cjs-named-error.mjs#L27
--- stderr --- node:internal/modules/run_main:107 triggerUncaughtException( ^ AssertionError [ERR_ASSERTION]: should support relative specifiers with single quotes at async file:///home/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/es-module/test-esm-cjs-named-error.mjs:26:1 { generatedMessage: false, code: 'ERR_ASSERTION', actual: ReferenceError: RegExpPrototypeSymbolReplace is not defined at #asyncInstantiate (node:internal/modules/esm/module_job:427:43) at async ModuleJob.run (node:internal/modules/esm/module_job:500:5) at async node:internal/modules/esm/loader:716:26 at async assert.rejects.name (file:///home/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/es-module/test-esm-cjs-named-error.mjs:27:3) at async waitForActual (node:assert:615:5) at async assert.rejects (node:assert:738:25) at async file:///home/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/es-module/test-esm-cjs-named-error.mjs:26:1, expected: { name: 'SyntaxError', message: "Named export 'comeOn' not found. The requested module './fail.cjs' is a CommonJS module, which may not support all module.exports as named exports.\n" + 'CommonJS modules can always be imported via the default export, for example using:\n' + '\n' + "import pkg from './fail.cjs';\n" + 'const { comeOn } = pkg;\n' }, operator: 'rejects', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/es-module/test-esm-cjs-named-error.mjs
x86_64-linux: with shared libraries: test/parallel/test-bootstrap-modules.js#L264
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: These builtins are now unexpectedly loaded before pre-execution. If this is intentional, add them to `expected.beforePreExec`. # Note: loading more builtins before pre-execution can lead to startup performance regression or invalid snapshots. - Consider lazy loading builtins that are not used universally. - Make sure that the builtins do not access environment dependent states e.g. command line arguments or environment variables during loading. - When in doubt, ask @nodejs/startup. --- These could be added to expected.beforePreExec --- [ 'NativeModule internal/errors/error_source' ] 9 !== 0 at Object.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/parallel/test-bootstrap-modules.js:264:8) at Module._compile (node:internal/modules/cjs/loader:1888:14) at Object..js (node:internal/modules/cjs/loader:2030:10) at Module.load (node:internal/modules/cjs/loader:1611:32) at Module._load (node:internal/modules/cjs/loader:1358:12) at wrapModuleLoad (node:internal/modules/cjs/loader:259:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) at node:internal/main/run_main_module:33:47 { generatedMessage: false, code: 'ERR_ASSERTION', actual: 9, expected: 0, operator: 'strictEqual', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/parallel/test-bootstrap-modules.js
x86_64-darwin: with shared libraries
Process completed with exit code 2.
x86_64-darwin: with shared libraries: test/es-module/test-esm-cjs-named-error.mjs#L27
--- stderr --- node:internal/modules/run_main:107 triggerUncaughtException( ^ AssertionError [ERR_ASSERTION]: should support relative specifiers with single quotes at async file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/es-module/test-esm-cjs-named-error.mjs:26:1 { generatedMessage: false, code: 'ERR_ASSERTION', actual: ReferenceError: RegExpPrototypeSymbolReplace is not defined at #asyncInstantiate (node:internal/modules/esm/module_job:427:43) at async ModuleJob.run (node:internal/modules/esm/module_job:500:5) at async node:internal/modules/esm/loader:716:26 at async assert.rejects.name (file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/es-module/test-esm-cjs-named-error.mjs:27:3) at async waitForActual (node:assert:615:5) at async assert.rejects (node:assert:738:25) at async file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/es-module/test-esm-cjs-named-error.mjs:26:1, expected: { name: 'SyntaxError', message: "Named export 'comeOn' not found. The requested module './fail.cjs' is a CommonJS module, which may not support all module.exports as named exports.\n" + 'CommonJS modules can always be imported via the default export, for example using:\n' + '\n' + "import pkg from './fail.cjs';\n" + 'const { comeOn } = pkg;\n' }, operator: 'rejects', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node /Users/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/es-module/test-esm-cjs-named-error.mjs
x86_64-darwin: with shared libraries: test/parallel/test-bootstrap-modules.js#L264
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: These builtins are now unexpectedly loaded before pre-execution. If this is intentional, add them to `expected.beforePreExec`. # Note: loading more builtins before pre-execution can lead to startup performance regression or invalid snapshots. - Consider lazy loading builtins that are not used universally. - Make sure that the builtins do not access environment dependent states e.g. command line arguments or environment variables during loading. - When in doubt, ask @nodejs/startup. --- These could be added to expected.beforePreExec --- [ 'NativeModule internal/errors/error_source' ] 9 !== 0 at Object.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/parallel/test-bootstrap-modules.js:264:8) at Module._compile (node:internal/modules/cjs/loader:1888:14) at Object..js (node:internal/modules/cjs/loader:2030:10) at Module.load (node:internal/modules/cjs/loader:1611:32) at Module._load (node:internal/modules/cjs/loader:1358:12) at wrapModuleLoad (node:internal/modules/cjs/loader:259:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) at node:internal/main/run_main_module:33:47 { generatedMessage: false, code: 'ERR_ASSERTION', actual: 9, expected: 0, operator: 'strictEqual', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node /Users/runner/work/_temp/node-v26.0.0-nightly2026-04-226aaf053742-slim/test/parallel/test-bootstrap-modules.js

Artifacts

Produced during runtime
Name Size Digest
tarballs
50.3 MB
sha256:00b5b0a45293721df8a2a2c47ae3d4480cc315fe9cc6b765de90ee463335f3dc