I am getting this error while using the following command:
$ apollo client:codegen --localSchemaFile schema.graphql --target typescript
Error –
⚠️ It looks like there are 0 files associated with this Apollo Project. This may be because you don't have any files yet, or your incluudes/excludes fields are configured incorrectly, and Apollo can't find your files. For help configuring Apollo projects, see this guide: https://go.apollo.dev/t/config
--------------------------------------------------------------------------------
DEPRECATED: This command will be removed from the `apollo` CLI in
its next major version. Replacement functionality is available via
the `graphql-code-generator` project: https://www.graphql-code-generator.com/
This message can be suppressed with the --suppressDeprecationWarning flag.
--------------------------------------------------------------------------------
√ Loading Apollo Project
× Generating query files with 'typescript' target
→ No operations or fragments found to generate code for.
Error: No operations or fragments found to generate code for.
What should I do ?
I was expecting this command to run properly.