watermelon
watermelon
DIAdiscord.js - Imagine an app
Created by watermelon on 11/10/2023 in #djs-questions
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>
6 replies