What's not working?
Mail Templates are not loading on Redwod Studio using Windows, I get this error:
Reanalysing mailer and mail templates...
Error reloading mailer:
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 'd:'
at new NodeError (node:internal/errors:405:5)
at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:136:11)
at defaultLoad (node:internal/modules/esm/load:87:3)
at nextLoad (node:internal/modules/esm/loader:163:28)
at ESMLoader.load (node:internal/modules/esm/loader:603:26)
at ESMLoader.moduleProvider (node:internal/modules/esm/loader:457:22)
at new ModuleJob (node:internal/modules/esm/module_job:64:26)
at #createModuleJob (node:internal/modules/esm/loader:480:17)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:434:34)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}
- Analysed 0 mail templates
How do we reproduce the bug?
After a clean install of Redwood 6.4.0 install the mailer with "yarn rw setup mailer" then start redwood studio
What's your environment? (If it applies)
System:
OS: Windows 10 10.0.22631
Binaries:
Node: 18.18.1 - ~\AppData\Local\Temp\xfs-6fec955d\node.CMD
Yarn: 3.5.0 - ~\AppData\Local\Temp\xfs-6fec955d\yarn.CMD
Browsers:
Edge: Chromium (119.0.2151.58)
npmPackages:
@redwoodjs/auth-dbauth-setup: 6.4.0 => 6.4.0
@redwoodjs/cli-storybook: 6.4.0 => 6.4.0
@redwoodjs/core: 6.4.0 => 6.4.0
@redwoodjs/studio: 6.4.0 => 6.4.0
Are you interested in working on this?
What's not working?
Mail Templates are not loading on Redwod Studio using Windows, I get this error:
How do we reproduce the bug?
After a clean install of Redwood 6.4.0 install the mailer with "yarn rw setup mailer" then start redwood studio
What's your environment? (If it applies)
System: OS: Windows 10 10.0.22631 Binaries: Node: 18.18.1 - ~\AppData\Local\Temp\xfs-6fec955d\node.CMD Yarn: 3.5.0 - ~\AppData\Local\Temp\xfs-6fec955d\yarn.CMD Browsers: Edge: Chromium (119.0.2151.58) npmPackages: @redwoodjs/auth-dbauth-setup: 6.4.0 => 6.4.0 @redwoodjs/cli-storybook: 6.4.0 => 6.4.0 @redwoodjs/core: 6.4.0 => 6.4.0 @redwoodjs/studio: 6.4.0 => 6.4.0Are you interested in working on this?