Closed
Description
--es-module-specifier-resolution=node
is documented for v13.x:
Here is the specific example that works in v13.0.0, but not in v13.0.1 or v13.1.0:
node --experimental-modules --es-module-specifier-resolution=node index
As you can see in the screenshot above, the error is:
internal/modules/cjs/loader.js:895
throw err;
^
Error: Cannot find module '/Users/jaydenseric/Desktop/test/index'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:892:15)
at Function.Module._load (internal/modules/cjs/loader.js:785:27)
at Function.Module.runMain (internal/modules/cjs/loader.js:1143:12)
at internal/main/run_main_module.js:16:11 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Metadata
Metadata
Assignees
Labels
No labels