Skip to content
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

Starting in windows result in bad path #4

Open
kroghdk opened this issue Dec 14, 2024 · 0 comments
Open

Starting in windows result in bad path #4

kroghdk opened this issue Dec 14, 2024 · 0 comments

Comments

@kroghdk
Copy link

kroghdk commented Dec 14, 2024

Describe the bug
PS C:\git\site-builder> npm run dev

[email protected] dev
node bin/tailcms.js dev

(node:28268) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
node:internal/modules/esm/load:217
throw new ERR_UNSUPPORTED_ESM_URL_SCHEME(parsed, schemes);
^

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:217:11)
at defaultLoad (node:internal/modules/esm/load:109:3)
at ModuleLoader.load (node:internal/modules/esm/loader:670:12)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:483:43)
at #createModuleJob (node:internal/modules/esm/loader:507:36)
at #getJobFromResolveResult (node:internal/modules/esm/loader:275:34)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:243:41)
at async onImport.tracePromise.proto (node:internal/modules/esm/loader:546:25) {
code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}

Node.js v22.12.0

To Reproduce
Steps to reproduce the behavior:

  1. Download
  2. npm install
  3. npm start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant