Why? #1162
Unanswered
DenisCepaka
asked this question in
Q&A
Why?
#1162
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PS E:\yaoyao-master> node index.js
node:internal/errors:465
ErrorCaptureStackTrace(err);
^
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'e:'
at new NodeError (node:internal/errors:372:5)
at throwIfUnsupportedURLScheme (node:internal/modules/esm/resolve:1068:11)
at defaultResolve (node:internal/modules/esm/resolve:1148:3)
at ESMLoader.resolve (node:internal/modules/esm/loader:536:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:250:18)
at ESMLoader.import (node:internal/modules/esm/loader:336:22)
at importModuleDynamically (node:internal/modules/esm/translators:106:35)
at importModuleDynamicallyCallback (node:internal/process/esm_loader:35:14)
at importCommands (file:///E:/yaoyao-master/utils/importCommands.js:11:34)
at file:///E:/yaoyao-master/index.js:37:1 {
code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}
Beta Was this translation helpful? Give feedback.
All reactions