mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
The idea is to allow the C++ layer to run arbitrary scripts as the main script. This paves the way for - cctest of the execution of Node.js instances - Earlier handling of per-process CLI options that affect execution modes (those usually do not make sense for the embedders). - Targets like mkcodecache or mksnapshot. Also moves the handling of `_third_party_main.js` into C++. PR-URL: https://github.com/nodejs/node/pull/25474 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
19 lines
713 B
Plaintext
19 lines
713 B
Plaintext
Exiting with code=1
|
|
assert.js:*
|
|
throw new AssertionError(obj);
|
|
^
|
|
|
|
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
|
|
|
|
1 !== 2
|
|
|
|
at Object.<anonymous> (*test*message*error_exit.js:*:*)
|
|
at Module._compile (internal/modules/cjs/loader.js:*:*)
|
|
at Object.Module._extensions..js (internal/modules/cjs/loader.js:*:*)
|
|
at Module.load (internal/modules/cjs/loader.js:*:*)
|
|
at tryModuleLoad (internal/modules/cjs/loader.js:*:*)
|
|
at Function.Module._load (internal/modules/cjs/loader.js:*:*)
|
|
at Function.Module.runMain (internal/modules/cjs/loader.js:*:*)
|
|
at executeUserCode (internal/bootstrap/node.js:*:*)
|
|
at startMainThreadExecution (internal/bootstrap/node.js:*:*)
|