-
-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
When I try to run snapai, whether its installed or via npx on Windows, I get the following error:
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:209:11)
at defaultLoad (node:internal/modules/esm/load:107:3)
at ModuleLoader.load (node:internal/modules/esm/loader:800:12)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:580:43)
at #createModuleJob (node:internal/modules/esm/loader:604:36)
at #getJobFromResolveResult (node:internal/modules/esm/loader:338:34)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:306:41)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:643:25) {
code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}
I suspect its related to #1.
asadarshad142 and onigetoc
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed