You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2.It outputs "Prettier not found", but this is because the actual error message is swallowed
Error: Command failed with exit code 2: prettier --write /Users/xxxx/generated/validation/cms.ts /Users/george.griffiths/Code/platform-wrapper/mittens/packages/main/app/clients/openapi/v2/generated/validation/file.schemas.ts
[error] No files matching the pattern were found: "/Users/xxx/generated/validation/file.schemas.ts".
Your code
…
What happens?
Prettier fails to run on the zod code
…
What were you expecting to happen?
If it is possible to not generate the schema types.ts files then it should not error.
The longer version:
The entire reason i'm generating the zod schema separately is because you seemingly can't generated a react-query client and zod client in the same config, so this is my workaround.
…
Any logs, error output, etc?
…
Any other comments?
There is a workaround, i can just duplicate the schema in both configs e.g.
What are the steps to reproduce this issue?
1.With the following config
2.It outputs "Prettier not found", but this is because the actual error message is swallowed
Your code
What happens?
Prettier fails to run on the zod code
…
What were you expecting to happen?
If it is possible to not generate the schema types.ts files then it should not error.
The longer version:
…
Any logs, error output, etc?
…
Any other comments?
There is a workaround, i can just duplicate the schema in both configs e.g.
…
What versions are you using?
Operating System: …
Package Version: …
Browser Version: …
The text was updated successfully, but these errors were encountered: