You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR [worker reload] [worker init] Only URLs with a scheme in: file, data are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
ERROR [worker reload] [worker init] Only URLs with a scheme in: file, data are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
at new NodeError (node:internal/errors:387:5)
at throwIfUnsupportedURLScheme (node:internal/modules/esm/resolve:1017:11)
at defaultResolve (node:internal/modules/esm/resolve:1097:3)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:837:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
at link (node:internal/modules/esm/module_job:75:36)
The text was updated successfully, but these errors were encountered:
Environment
Reproduction
See @nuxtjs-alt/proxy/src/module.ts
Describe the bug
Under Nuxt 3.0, Nitro will generate a script at
.nuxt/dev/index.mjs
before server up:Then node complains:
Additional context
In my openion
should both be corrected to:
Please check my workaround discussion here.
Logs
The text was updated successfully, but these errors were encountered: