Virtual File System for Node.js #72035
Annotations
3 errors and 1 notice
|
test-macOS
Process completed with exit code 2.
|
|
test-macOS:
test/sea/test-single-executable-application-vfs.js#L21
--- stderr ---
[process 31829]: --- stderr ---
node:fs:435
return binding.readFileUtf8(path, stringToFlags(options.flag));
^
Error: ENOENT: no such file or directory, open '/sea/config.json'
at Object.readFileSync (node:fs:435:20)
at sea.js:9:26
at embedderRunCjs (node:internal/main/embedding:97:10)
at embedderRunEntryPoint (node:internal/main/embedding:218:12) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/sea/config.json'
}
Node.js v26.0.0-pre
[process 31829]: --- stdout ---
[process 31829]: status = 1, signal = null
/Users/runner/work/node/node/node/test/common/child_process.js:112
throw error;
^
Error: - process terminated with status 1, expected 0
at Object.<anonymous> (/Users/runner/work/node/node/node/test/sea/test-single-executable-application-vfs.js:21:1)
at Module._compile (node:internal/modules/cjs/loader:1811:14)
at Object..js (node:internal/modules/cjs/loader:1942:10)
at Module.load (node:internal/modules/cjs/loader:1532:32)
at Module._load (node:internal/modules/cjs/loader:1334:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
command: '/Users/runner/work/node/node/node/test/.tmp.4644/sea-prep.blob'
}
Node.js v26.0.0-pre
--- stdout ---
Signed /Users/runner/work/node/node/node/test/.tmp.4644/sea-prep.blob
Command: out/Release/node /Users/runner/work/node/node/node/test/sea/test-single-executable-application-vfs.js
|
|
test-macOS:
test/sea/test-single-executable-application-use-code-cache.js#L24
--- stderr ---
[process 31783]: --- stderr ---
(node:31783) Warning: Currently the require() provided to the main script embedded into single-executable applications only supports loading built-in modules.
To load a module from disk after the single executable application is launched, use require("module").createRequire().
Support for bundled module loading or virtual file systems are under discussions in https://github.com/nodejs/single-executable
(Use `sea-prep.blob --trace-warnings ...` to show where the warning was created)
(node:31783) ExperimentalWarning: Single executable application is an experimental feature and might change at any time
(node:31783) ExperimentalWarning: VirtualFileSystem is an experimental feature and might change at any time
node:assert:173
throw err;
^
AssertionError [ERR_ASSERTION]: Unexpected extra warning received: ExperimentalWarning: VirtualFileSystem is an experimental feature and might change at any time
at Object.<anonymous> (/Users/runner/work/node/node/node/test/common/index.js:687:14)
at Object.ExperimentalWarning (/Users/runner/work/node/node/node/test/common/index.js:507:15)
at process.<anonymous> (/Users/runner/work/node/node/node/test/common/index.js:716:33)
at process.emit (node:events:520:22)
at doEmitWarning (node:internal/process/warning:85:11)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: undefined,
operator: 'fail',
diff: 'simple'
}
Node.js v26.0.0-pre
[process 31783]: --- stdout ---
Hello, world! π
[process 31783]: status = 1, signal = null
/Users/runner/work/node/node/node/test/common/child_process.js:112
throw error;
^
Error: - process terminated with status 1, expected 0
at Object.<anonymous> (/Users/runner/work/node/node/node/test/sea/test-single-executable-application-use-code-cache.js:24:1)
at Module._compile (node:internal/modules/cjs/loader:1811:14)
at Object..js (node:internal/modules/cjs/loader:1942:10)
at Module.load (node:internal/modules/cjs/loader:1532:32)
at Module._load (node:internal/modules/cjs/loader:1334:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
options: {
env: {
COMMON_DIRECTORY: '/Users/runner/work/node/node/node/test/common',
NODE_DEBUG_NATIVE: 'SEA'
}
},
command: '/Users/runner/work/node/node/node/test/.tmp.4643/sea-prep.blob -a --b=c d'
}
Node.js v26.0.0-pre
--- stdout ---
Signed /Users/runner/work/node/node/node/test/.tmp.4643/sea-prep.blob
Command: out/Release/node /Users/runner/work/node/node/node/test/sea/test-single-executable-application-use-code-cache.js
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|