module: synchronously load most ES modules #62530
Open
Annotations
2 errors, 1 warning, and 1 notice
|
Test
Process completed with exit code 2.
|
|
Test:
test/es-module/test-esm-cjs-named-error.mjs#L0
--- stderr ---
node:internal/modules/run_main:108
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: should support relative specifiers with single quotes
at async file:///home/runner/work/node/node/node/test/es-module/test-esm-cjs-named-error.mjs:26:1 {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: SyntaxError: The requested module './fail.cjs' does not provide an export named 'comeOn'
at ModuleJobSync.run (node:internal/modules/esm/module_job:513:19)
at node:internal/modules/esm/loader:671:42,
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/node/node/node/test/es-module/test-esm-cjs-named-error.mjs
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Post Set up sccache
67% - 3243 hits, 1621 misses, 0 errors
|
Loading