mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
This change allows for easier recognition of builtin modules in stack traces. Refs: https://github.com/nodejs/node/issues/11893 PR-URL: https://github.com/nodejs/node/pull/35498 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com>
9 lines
494 B
Plaintext
9 lines
494 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 (node:internal/modules/esm/module_job:*:*)
|
|
at async ModuleJob.run (node:internal/modules/esm/module_job:*:*)
|
|
at async Loader.import (node:internal/modules/esm/loader:*:*)
|
|
at async Object.loadESM (node:internal/process/esm_loader:*:*)
|