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

Error in Redwood Studio #9807

Closed
1 task
arreagaelio1 opened this issue Jan 7, 2024 · 6 comments
Closed
1 task

Error in Redwood Studio #9807

arreagaelio1 opened this issue Jan 7, 2024 · 6 comments
Assignees
Labels
bug/needs-info More information is needed for reproduction topic/studio Redwood Dev Studio

Comments

@arreagaelio1
Copy link

What's not working?

When I run the yarn rw exp studio command I get this:
`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 supporte
d by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol
'c:'
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 1 mail templates`

How do we reproduce the bug?

No response

What's your environment? (If it applies)

System:
    OS: Windows 10 10.0.19045
  Binaries:
    Node: 18.18.2 - ~\AppData\Local\Temp\xfs-d9a8cdb3\node.CMD
    Yarn: 3.7.0 - ~\AppData\Local\Temp\xfs-d9a8cdb3\yarn.CMD
  Browsers:
    Chrome: 81.0.4044.129
    Edge: Chromium (120.0.2210.91)
  npmPackages:
    @redwoodjs/auth-dbauth-setup: 6.6.2 => 6.6.2
    @redwoodjs/core: 6.6.2 => 6.6.2
    @redwoodjs/studio: 6.6.2 => 6.6.2

Are you interested in working on this?

  • I'm interested in working on this
@arreagaelio1 arreagaelio1 added the bug/needs-info More information is needed for reproduction label Jan 7, 2024
@Josh-Walker-GM
Copy link
Collaborator

Thanks for raising this issue @arreagaelio1! I'll take a stab at debugging this tomorrow and update this issue when I do.

@Josh-Walker-GM Josh-Walker-GM self-assigned this Jan 7, 2024
@Josh-Walker-GM Josh-Walker-GM added the topic/studio Redwood Dev Studio label Jan 7, 2024
@xmaxcooking
Copy link
Contributor

I'm encountering the same issue on windows.

@Josh-Walker-GM
Copy link
Collaborator

Josh-Walker-GM commented Jan 7, 2024

Hi all. I think this issue has been fixed in #9639 but that is still waiting for our next minor release. It should be possible to use a canary version to avoid this issue until such time as our next minor is out. It might even be helpful if you could confirm that this is indeed fixed by upgrading to the latest canary and confirming the error goes away.

Just a small notice that we're in the process of swapping out studio for an upgraded version based on an ongoing rewrite. So just a little heads up that studio might undergo a bit of a change this month and will hopefully be available as a non-experimental feature.

cc @Tobbe

@xmaxcooking
Copy link
Contributor

@Josh-Walker-GM sounds good. really looking forward to finally try mailer

@gvtret
Copy link

gvtret commented Jan 8, 2024

on WSL2 it's works fine.
2024-01-08 09 00 18

@Tobbe
Copy link
Member

Tobbe commented Jan 8, 2024

Closing this as a duplicate of #9545

@Tobbe Tobbe closed this as completed Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/needs-info More information is needed for reproduction topic/studio Redwood Dev Studio
Projects
None yet
Development

No branches or pull requests

5 participants