-
Notifications
You must be signed in to change notification settings - Fork 187
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
webapp-api-client:graphql:generate-types Unable to find Codegen config file! #410
Comments
fixed it by changing some stuff in the
+ "commands": ["pnpm run graphql-codegen"],
- "commands": ["pnpm run graphql-codegen -c ./graphql/codegen.ts"],
+ "graphql-codegen": "graphql-codegen --config ./graphql/codegen.ts",
- "graphql-codegen": "graphql-codegen", I could write up a tiny PR if this is helpful... |
I'll verify if this happens on other machines as well and let you know! |
Did you get a chance to verify ? |
I don't have this issue on my machine on the latest master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
when running:
pnpm nx run webapp-api-client:graphql:generate-types
at the root of the project,it says:
More details:
Steps to reproduce
pnpm install
pnpm nx run webapp-api-client:graphql:generate-types
System Info
Logs
Click to expand!
```shell > nx run webapp-api-client:graphql:generate-types/Users/ralphkhreish/workspace/freelance/toptal/the-fui/packages/webapp-libs/webapp-api-client
ERROR Command failed with exit code 1.
Warning: run-commands command "pwd && pnpm run graphql-codegen -c ./graphql/codegen.ts" exited with non-zero status code
———————————————————————————————————————————————————————————————————————————————
The text was updated successfully, but these errors were encountered: