esm loader error
C:\Users\abhay\OneDrive\Desktop\shelar academy iit\fixed_kumo_idk\RAT_Builder>node index.js
(node:4064) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use
node --trace-warnings ... to show where the warning was created)
node:internal/errors:464
ErrorCaptureStackTrace(err);
^
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
at new NodeError (node:internal/errors:371:5)
at defaultResolve (node:internal/modules/esm/resolve:1016:11)
at ESMLoader.resolve (node:internal/modules/esm/loader:422:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:222:40)
at ESMLoader.import (node:internal/modules/esm/loader:276:22)
at importModuleDynamically (node:internal/modules/esm/translators:111:35)
at importModuleDynamicallyCallback (node:internal/process/esm_loader:35:14)
at file:///C:/Users/abhay/OneDrive/Desktop/shelar%20academy%20iit/fixed_kumo_idk/RAT_Builder/index.js:11:1
at ModuleJob.run (node:internal/modules/esm/module_job:185:25)
at async Promise.all (index 0) {
code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}
C:\Users\abhay\OneDrive\Desktop\shelar academy iit\fixed_kumo_idk\RAT_Builder>
3 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by staffplz
help
C:\Users\abhay\OneDrive\Desktop\shelar academy iit\fixed_kumo_idk\RAT_Builder>node index.js
(node:4064) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use
node --trace-warnings ... to show where the warning was created)
node:internal/errors:464
ErrorCaptureStackTrace(err);
^
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
at new NodeError (node:internal/errors:371:5)
at defaultResolve (node:internal/modules/esm/resolve:1016:11)
at ESMLoader.resolve (node:internal/modules/esm/loader:422:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:222:40)
at ESMLoader.import (node:internal/modules/esm/loader:276:22)
at importModuleDynamically (node:internal/modules/esm/translators:111:35)
at importModuleDynamicallyCallback (node:internal/process/esm_loader:35:14)
at file:///C:/Users/abhay/OneDrive/Desktop/shelar%20academy%20iit/fixed_kumo_idk/RAT_Builder/index.js:11:1
at ModuleJob.run (node:internal/modules/esm/module_job:185:25)
at async Promise.all (index 0) {
code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}
C:\Users\abhay\OneDrive\Desktop\shelar academy iit\fixed_kumo_idk\RAT_Builder>
Unknown User•14mo ago
Message Not Public
Sign In & Join Server To View