Skip to content
This repository was archived by the owner on Jul 3, 2024. It is now read-only.

Not working in Windows #20

Open
itswadesh opened this issue Jan 24, 2022 · 3 comments
Open

Not working in Windows #20

itswadesh opened this issue Jan 24, 2022 · 3 comments

Comments

@itswadesh
Copy link

Hi,

Unfortunatedly its not working for me in Windows. Here is my configuration

gQueryCodegen({
	schema: `http://localhost:7000/graphql`, 
	out: 'src/lib/gql', 
	gPath: '$lib/config/g', 
	debug: false
}),
@nikfp
Copy link

nikfp commented Jan 25, 2022

Issue confirmed with Windows usage. It appears that the error is coming from the Execa package used in the codegen process during file cleaning, in the cleanGq command of the plugin.ts file. The command is working for me on an Ubuntu distro (though I'm having other issues further down the pipeline) and I imagine it was written and tested on a Mac, so it's probably safe to assume that the command is acceptable for Unix based systems.

@rzasinets
Copy link

Same to me. cleanGQ command fails on Windows. It shouldn't be difficult to implement cross-platform solution..

@stolinski
Copy link
Contributor

Oh, good call. I don't have a windows computer to test on but am happy to see a pr.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants