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:'
See original GitHub issue- Version (
cloudcmd -v
): v15.3.3 - Node Version
node -v
: v14.15.4 - OS (
uname -a
on Linux): windows 10 - Browser name/version: chrome
- Used Command Line Parameters: cloudcmd --port 2021
- Changed Config: none
Received protocol 'c:' Promise {
<rejected> 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 Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:782:11)
at Loader.resolve (internal/modules/esm/loader.js:86:40)
at Loader.getModuleJob (internal/modules/esm/loader.js:230:28)
at Loader.import (internal/modules/esm/loader.js:165:28)
at importModuleDynamically (internal/modules/cjs/loader.js:1006:27)
at exports.importModuleDynamicallyCallback (internal/process/esm_loader.js:30:14)
at C:\Users\backtolife\AppData\Local\Yarn\Data\global\node_modules\simport\simport.js:22:26
at validateRoot (file:///C:/Users/backtolife/AppData/Local/Yarn/Data/global/node_modules/cloudcmd/bin/cloudcmd.mjs:224:28)
at main (file:///C:/Users/backtolife/AppData/Local/Yarn/Data/global/node_modules/cloudcmd/bin/cloudcmd.mjs:206:11) {
code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}
}
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file ...
Notice the error message: Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be valid...
Read more >Only file and data URLs are supported by the default ESM ...
[BUG] 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:// ......
Read more >Lab 7.1 ERR_UNSUPPORTED_ESM_URL_SCHEME
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be ...
Read more >Only file and data URLs are supported by the default ESM ...
Notice the error message: Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be valid...
Read more >jest only absolute urls are supported - You.com - You.com
ERROR Running tests failed: Error: Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The file list appears after the path is completed. Thank you for your reminder.
I can’t reproduce this. Could you please open url
http://localhost:8000/fs/c/
?