Skip to content

[Hola]: Absolute path issue on Windows #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jakezneal opened this issue May 14, 2025 · 1 comment
Closed

[Hola]: Absolute path issue on Windows #1

jakezneal opened this issue May 14, 2025 · 1 comment
Assignees

Comments

@jakezneal
Copy link
Owner

The following issue is occurring on Windows when using the make:component command:

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:701:12)
    at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:514:43)
    at #createModuleJob (node:internal/modules/esm/loader:538:36)
    at #getJobFromResolveResult (node:internal/modules/esm/loader:306:34)
    at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:274:41)
    at async onImport.tracePromise._proto_ (node:internal/modules/esm/loader:577:25) {
  code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}

Some comments on StackOverflow suggested it was down to lower Node.js version, but even with v22.14.0 the issue appears to exist. There are two issues open on the Vue.js CLI repo (here and here) that are currently open and report the same issue—neither of which are closed or reported to be fixed.

@jakezneal jakezneal self-assigned this May 14, 2025
@jakezneal
Copy link
Owner Author

Fixed in 1179b66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant