mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
Due to a bug in top-level await implementation, it used to default to exit code 13. PR-URL: https://github.com/nodejs/node/pull/41388 Backport-PR-URL: https://github.com/nodejs/node/pull/41508 Fixes: https://github.com/nodejs/node/issues/40808 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com>
10 lines
552 B
Plaintext
10 lines
552 B
Plaintext
file:///*/test/message/esm_display_syntax_error_import.mjs:5
|
|
notfound
|
|
^^^^^^^^
|
|
SyntaxError: The requested module '../fixtures/es-module-loaders/module-named-exports.mjs' does not provide an export named 'notfound'
|
|
at ModuleJob._instantiate (internal/modules/esm/module_job.js:*:*)
|
|
at async ModuleJob.run (internal/modules/esm/module_job.js:*:*)
|
|
at async Loader.import (internal/modules/esm/loader.js:*:*)
|
|
at async Object.loadESM (internal/process/esm_loader.js:*:*)
|
|
at async handleMainPromise (internal/modules/run_main.js:*:*)
|