Closed Sandeep-Malhotra closed 1 year ago
Hello 👋 Can you try changing /src/schema
to src/schema
in your codegen.ts
, please? :)
/src/schema
generate the files into /src/schema
directory
src/schema
generates the files into src/schema
directory relative to your current working directory
Thanks for your reply. Still the same issue
Do you have a repo I could clone to look at? :)
Alternatively, could you try using this forking this Codesanbox template and reproduce this bug there?
Would be good to know the following too:
Here is the link for the source code ( Unfortunately code is still not working for me)
Source code link https://github.com/Sandeep-Malhotra/test-graphql-server-with-preset
Hmm that's odd 🤔 I'm using your repo and it works.
Can you provide the following please:
Below are the details Node Version v19.6.0 OS Windows Running in the VS Code Git Bash Terminal Also, I have installed NVM and its version is 1.1.9
Thanks
Thank you! I know there's an issue with WIndows atm. Some people report the preset works fine with Windows WSL.
I'll set up a Windows machine some time this week to test. Thanks!
Appreciate your assistance. Thanks once again
Hi @Sandeep-Malhotra,
Can you try this alpha version that should support Windows path please:
yarn add -D @eddeee888/gcg-typescript-resolver-files@pr67-run159-1
Then run codegen as usual:
yarn graphql-codegen
Sure will try and update you
Looks like Windows issues have been resolved in the latest versions. I'll close this for now. If the problem persists, please open another issue.
I am following the steps as described here
Codegen.ts
Folder Structure
Package.json file
Console Output ( No errors but no output files are generated)
Console with verbose
Kindly let me know why output files are not generated