I am unable to generate a schema types using codegen

I am unable to generate a schema types using codegen


0

I get an error like this when I create a my codegen.yml file. And I tried using codegen.json instead but the command

"npx graphql-codegen"

does not generates the code. However I have added the

"generates":graphql-codegen" 

in my scripts in the package.json file.

Below is the error I keep getting.

I am unable to generate a schema types using codegen

I have tried to update the graphql-codegen but that did not work.
I have also installed it globally

Share
Improve this question


Load 4 more related questions


Show fewer related questions

0

Reset to default



Leave a Reply

Your email address will not be published. Required fields are marked *