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

Does houdini already supports windows? #70

Closed
outerlook opened this issue May 17, 2021 · 2 comments · Fixed by #69
Closed

Does houdini already supports windows? #70

outerlook opened this issue May 17, 2021 · 2 comments · Fixed by #69

Comments

@outerlook
Copy link
Contributor

Hi!

While trying to setup houdini, I got this error on houdini generate

(node:12660) UnhandledPromiseRejectionWarning: Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
    at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:782:11)
    at Loader.resolve (internal/modules/esm/loader.js:88:40)
    at Loader.getModuleJob (internal/modules/esm/loader.js:241:28)
    at Loader.import (internal/modules/esm/loader.js:176:28)
    at importModuleDynamically (internal/modules/esm/translators.js:114:35)
    at exports.importModuleDynamicallyCallback (internal/process/esm_loader.js:30:14)
    at file:///C:/.../node_modules/houdini/build/cmd.js:937:49
    at step (file:///C:/.../node_modules/houdini/build/cmd.js:346:23)
    at Object.next (file:///C:/.../node_modules/houdini/build/cmd.js:327:53)
    at file:///C:/.../node_modules/houdini/build/cmd.js:320:71

some of my devdeps

		"@sveltejs/kit": "1.0.0-next.107",
		"houdini": "^0.5.1-kit.6",
		"houdini-preprocess": "^0.5.1-kit.6",
		"typescript": "4.3.1-rc"
		"svelte": "3.38.2",

Does this error means it isn't focused on windows yet, or is it something wrong on my side?

@AlecAivazis
Copy link
Collaborator

Hey @outerlook - thanks for opening up this ticket

It looks like that error is caused when trying to load the config file. I haven't tested the sveltekit branch on the windows terminals so im not totally surprised there are some problems. I'll poke around tonight and see if I can spot the problem

@AlecAivazis
Copy link
Collaborator

I think this is now fixed on version 0.5.1-kit.7

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

Successfully merging a pull request may close this issue.

2 participants