Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:239:11)
at defaultLoad (node:internal/modules/esm/load:130:3)
at ModuleLoader.load (node:internal/modules/esm/loader:403:13)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:285:56)
at new ModuleJob (node:internal/modules/esm/module_job:67:26)
at #createModuleJob (node:internal/modules/esm/loader:297:17)
at ModuleLoader.getJobFromResolveResult (node:internal/modules/esm/loader:254:34)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:235:17)
at async ModuleLoader.import (node:internal/modules/esm/loader:322:23) {
code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
It's a common error in Windows.
To Reproduce
Steps to reproduce the behavior:
Build the project locally (no Docker). Both frontend and backend.
Expected behavior
Running normally.
Screenshots
Desktop (please complete the following information):
OS: [Windows]
Browser [Chrome]
Hi.Events Version and platform
Local (Windows)
Additional context
I will work on fixing it. Will submit PR soon.
Describe the bug
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:' at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:239:11) at defaultLoad (node:internal/modules/esm/load:130:3) at ModuleLoader.load (node:internal/modules/esm/loader:403:13) at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:285:56) at new ModuleJob (node:internal/modules/esm/module_job:67:26) at #createModuleJob (node:internal/modules/esm/loader:297:17) at ModuleLoader.getJobFromResolveResult (node:internal/modules/esm/loader:254:34) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:235:17) at async ModuleLoader.import (node:internal/modules/esm/loader:322:23) { code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
It's a common error in Windows.
To Reproduce Steps to reproduce the behavior:
Expected behavior Running normally.
Screenshots
Desktop (please complete the following information):
Hi.Events Version and platform Local (Windows)
Additional context I will work on fixing it. Will submit PR soon.