PR-URL: https://github.com/nodejs/node/pull/31974 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
9 lines
446 B
Text
9 lines
446 B
Text
(node:*) ExperimentalWarning: --experimental-loader is an experimental feature. This feature could change at any time
|
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
file://*/test/fixtures/es-module-loaders/syntax-error.mjs:2
|
|
await async () => 0;
|
|
^^^^^
|
|
|
|
SyntaxError: Unexpected reserved word
|
|
at Loader.moduleStrategy (internal/modules/esm/translators.js:*:*)
|
|
at async link (internal/modules/esm/module_job.js:*:*)
|