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

Enable development under Windows #324

Open
benjie opened this issue May 4, 2023 · 2 comments
Open

Enable development under Windows #324

benjie opened this issue May 4, 2023 · 2 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@benjie
Copy link
Member

benjie commented May 4, 2023

See #316 (comment)

(To be clear: Graphile Worker works fine under Windows, it's cloning the repository and then contributing to it that doesn't work so well.)

@benjie benjie added help wanted Extra attention is needed good first issue Good for newcomers labels Nov 29, 2023
@hiepxanh
Copy link
Contributor

hiepxanh commented Jan 10, 2024

core] WARNING: Executable file detection not yet supported on 'win32'.

Error: Error processing 'C:\Users\hiepx\small-cosmos\losa\tmp\apps\backend\worker\libs\backend\worker-task\src\tasks\demo.js': 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:'

`Executable file detection not yet supported on '${process.platform}'.`,

I think it not work well on windows, I try to load file direct using task folder from typescript project on windows and stuck with this error. Should I create new issue?

since I'm developing on Windows, I cannot get realtime update file if I cannot run this code. It's used to work on 0.14 version. I'm running library version instead of CLI, maybe this is the issue?

@benjie
Copy link
Member Author

benjie commented Jan 10, 2024

Please file a separate issue, this issue is unrelated to that problem. Sounds like we just need to add file:// to the beginning of our import() calls. If you also want to raise a fix that would be welcome, as I don't have a Windows development machine so I'd only be guessing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants