mirror of
https://github.com/nodejs/node.git
synced 2025-05-14 14:58:20 +00:00

Use the same approach as a previous PR to include the offending line in the output and underline imports of inexistent exports. PR-URL: https://github.com/nodejs/node/pull/17786 Fixes: https://github.com/nodejs/node/issues/17785 Refs: https://github.com/nodejs/node/pull/17281 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
8 lines
314 B
Plaintext
8 lines
314 B
Plaintext
(node:*) ExperimentalWarning: The ESM module loader is experimental.
|
|
file:///*/test/message/esm_display_syntax_error_import.mjs:6
|
|
notfound
|
|
^^^^^^^^
|
|
SyntaxError: The requested module does not provide an export named 'notfound'
|
|
at ModuleJob._instantiate (internal/loader/ModuleJob.js:*:*)
|
|
at <anonymous>
|