mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
doc: update ESM hook examples esm: fix unsafe primordial doc: fix ESM example linting esm: allow source of type ArrayBuffer doc: update ESM hook changelog to include resolve format esm: allow all ArrayBuffers and TypedArrays for load hook source doc: tidy code & API docs doc: convert ESM source table header from Title Case to Sentence case doc: add detailed explanation for getPackageType esm: add caveat that ESMLoader::import() must NOT be renamed esm: tidy code declaration of getFormat protocolHandlers doc: correct ESM doc link (bad conflict resolution) doc: update ESM hook limitation for CJS esm: tweak preload description doc: update ESM getPackageType() example explanation PR-URL: https://github.com/nodejs/node/pull/37468 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
23 lines
1.1 KiB
Plaintext
23 lines
1.1 KiB
Plaintext
(node:*) ExperimentalWarning: --experimental-loader is an experimental feature. This feature could change at any time
|
|
(Use `* --trace-warnings ...` to show where the warning was created)
|
|
node:internal/process/esm_loader:*
|
|
internalBinding('errors').triggerUncaughtException(
|
|
^
|
|
|
|
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '*test*common*fixtures' imported from *
|
|
Did you mean to import ./test/common/fixtures.js?
|
|
at new NodeError (node:internal/errors:*:*)
|
|
at finalizeResolution (node:internal/modules/esm/resolve:*:*)
|
|
at moduleResolve (node:internal/modules/esm/resolve:*:*)
|
|
at defaultResolve (node:internal/modules/esm/resolve:*:*)
|
|
at ESMLoader.resolve (node:internal/modules/esm/loader:*:*)
|
|
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:*:*)
|
|
at ESMLoader.import (node:internal/modules/esm/loader:*:*)
|
|
at initializeLoader (node:internal/process/esm_loader:*:*)
|
|
at loadESM (node:internal/process/esm_loader:*:*)
|
|
at runMainESM (node:internal/modules/run_main:*:*) {
|
|
code: 'ERR_MODULE_NOT_FOUND'
|
|
}
|
|
|
|
Node.js *
|