I am trying to use the GraphQL Codegen Wizard for my application. I followed the installation instruction from this site: https://www.graphql-code-generator.com/docs/getting-started/installation
All the dependencies are successfully installed via npm with --legacy-peer-deps due to conflict. When the time to run this command below, the script ended unexpectedly. I did not get a chance to answer the question.
npx graphql-codegen init
what am I doing wrong?
System Details:
The only fix that I've come up with is downgrading to version 2.10.0 of graphql code generator.
In your package.json make this change -> "@graphql-codegen/cli": "2.10.0"
then npm install