Skip to content

loader: implement package maps #4248

loader: implement package maps

loader: implement package maps #4248

Triggered via pull request March 15, 2026 11:07
Status Failure
Total duration 31m 12s
Artifacts 1

test-shared.yml

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

Annotations

12 errors and 4 warnings
aarch64-darwin: with shared libraries
Process completed with exit code 2.
aarch64-darwin: with shared libraries: test/es-module/test-esm-package-map.mjs#L0
--- stdout --- Test failure: 'resolves packages outside the package map directory via relative paths' Location: test/es-module/test-esm-package-map.mjs:250:5 { code: Error: spawn /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/out/Release/node ENOENT at ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:507:16) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/out/Release/node', path: '/Users/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/out/Release/node', spawnargs: [ '--experimental-package-map', '/Users/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/test/fixtures/package-map/nested-project/package-map-external-deps.json', '--input-type=module', '--eval', "import dep from 'dep-a'; console.log(dep);" ] }, signal: undefined, stderr: '', stdout: '' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/test/es-module/test-esm-package-map.mjs
aarch64-darwin: with shared libraries: test/parallel/test-require-package-map.js#L197
--- stdout --- Test failure: 'resolves packages outside the package map directory via relative paths' Location: test/parallel/test-require-package-map.js:186:5 TypeError [ERR_INVALID_ARG_TYPE]: The "message" argument must be one of type string or function. Received undefined at innerFail (node:internal/assert/utils:135:11) at assert.strictEqual (node:assert:360:5) at TestContext.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/test/parallel/test-require-package-map.js:197:14) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1201:25) at Test.start (node:internal/test_runner/test:1096:17) at node:internal/test_runner/test:1617:71 at node:internal/per_context/primordials:466:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:435:3) { code: 'ERR_INVALID_ARG_TYPE' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/test/parallel/test-require-package-map.js
aarch64-linux: with shared libraries
Process completed with exit code 2.
aarch64-linux: with shared libraries: test/parallel/test-require-package-map.js#L197
--- stdout --- Test failure: 'resolves packages outside the package map directory via relative paths' Location: test/parallel/test-require-package-map.js:186:5 TypeError [ERR_INVALID_ARG_TYPE]: The "message" argument must be one of type string or function. Received undefined at innerFail (node:internal/assert/utils:135:11) at assert.strictEqual (node:assert:360:5) at TestContext.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/test/parallel/test-require-package-map.js:197:14) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1201:25) at Test.start (node:internal/test_runner/test:1096:17) at node:internal/test_runner/test:1617:71 at node:internal/per_context/primordials:466:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:435:3) { code: 'ERR_INVALID_ARG_TYPE' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/test/parallel/test-require-package-map.js
aarch64-linux: with shared libraries: test/es-module/test-esm-package-map.mjs#L0
--- stdout --- Test failure: 'resolves packages outside the package map directory via relative paths' Location: test/es-module/test-esm-package-map.mjs:250:5 { code: Error: spawn /home/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/out/Release/node ENOENT at ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:507:16) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/out/Release/node', path: '/home/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/out/Release/node', spawnargs: [ '--experimental-package-map', '/home/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/test/fixtures/package-map/nested-project/package-map-external-deps.json', '--input-type=module', '--eval', "import dep from 'dep-a'; console.log(dep);" ] }, signal: undefined, stderr: '', stdout: '' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/test/es-module/test-esm-package-map.mjs
x86_64-linux: with shared libraries
Process completed with exit code 2.
x86_64-linux: with shared libraries: test/parallel/test-require-package-map.js#L197
--- stdout --- Test failure: 'resolves packages outside the package map directory via relative paths' Location: test/parallel/test-require-package-map.js:186:5 TypeError [ERR_INVALID_ARG_TYPE]: The "message" argument must be one of type string or function. Received undefined at innerFail (node:internal/assert/utils:135:11) at assert.strictEqual (node:assert:360:5) at TestContext.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/test/parallel/test-require-package-map.js:197:14) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1201:25) at Test.start (node:internal/test_runner/test:1096:17) at node:internal/test_runner/test:1617:71 at node:internal/per_context/primordials:466:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:435:3) { code: 'ERR_INVALID_ARG_TYPE' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/test/parallel/test-require-package-map.js
x86_64-linux: with shared libraries: test/es-module/test-esm-package-map.mjs#L0
--- stdout --- Test failure: 'resolves packages outside the package map directory via relative paths' Location: test/es-module/test-esm-package-map.mjs:250:5 { code: Error: spawn /home/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/out/Release/node ENOENT at ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:507:16) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/out/Release/node', path: '/home/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/out/Release/node', spawnargs: [ '--experimental-package-map', '/home/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/test/fixtures/package-map/nested-project/package-map-external-deps.json', '--input-type=module', '--eval', "import dep from 'dep-a'; console.log(dep);" ] }, signal: undefined, stderr: '', stdout: '' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/test/es-module/test-esm-package-map.mjs
x86_64-darwin: with shared libraries
Process completed with exit code 2.
x86_64-darwin: with shared libraries: test/es-module/test-esm-package-map.mjs#L0
--- stdout --- Test failure: 'resolves packages outside the package map directory via relative paths' Location: test/es-module/test-esm-package-map.mjs:250:5 { code: Error: spawn /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/out/Release/node ENOENT at ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:507:16) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/out/Release/node', path: '/Users/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/out/Release/node', spawnargs: [ '--experimental-package-map', '/Users/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/test/fixtures/package-map/nested-project/package-map-external-deps.json', '--input-type=module', '--eval', "import dep from 'dep-a'; console.log(dep);" ] }, signal: undefined, stderr: '', stdout: '' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/test/es-module/test-esm-package-map.mjs
x86_64-darwin: with shared libraries: test/parallel/test-require-package-map.js#L197
--- stdout --- Test failure: 'resolves packages outside the package map directory via relative paths' Location: test/parallel/test-require-package-map.js:186:5 TypeError [ERR_INVALID_ARG_TYPE]: The "message" argument must be one of type string or function. Received undefined at innerFail (node:internal/assert/utils:135:11) at assert.strictEqual (node:assert:360:5) at TestContext.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/test/parallel/test-require-package-map.js:197:14) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1201:25) at Test.start (node:internal/test_runner/test:1096:17) at node:internal/test_runner/test:1617:71 at node:internal/per_context/primordials:466:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:435:3) { code: 'ERR_INVALID_ARG_TYPE' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-159e0b1124ed-slim/test/parallel/test-require-package-map.js
aarch64-darwin: with shared libraries
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: cachix/cachix-action@3ba601ff5bbb07c7220846facfa2cd81eeee15a1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
aarch64-linux: with shared libraries
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: cachix/cachix-action@3ba601ff5bbb07c7220846facfa2cd81eeee15a1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
x86_64-linux: with shared libraries
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: cachix/cachix-action@3ba601ff5bbb07c7220846facfa2cd81eeee15a1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
x86_64-darwin: with shared libraries
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: cachix/cachix-action@3ba601ff5bbb07c7220846facfa2cd81eeee15a1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/

Artifacts

Produced during runtime
Name Size Digest
tarballs
48.4 MB
sha256:da876184b464aaf27204539365045a0f562432dbd6a0e53aa1b26bcf08a2f07e