Installation doesn't work? #7680
-
I'm trying to follow the installation docs, but I don't think they're correct? Running Running it with npx results in a |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
Make sure you run |
Beta Was this translation helpful? Give feedback.
-
Yeah there's a missing step that wasn't mentioned in the docs. You need to add the script to your package.json file
|
Beta Was this translation helpful? Give feedback.
-
hello, in my case it is didnt work "npx graphql-code-generator init" . I simply can't choose the answer - terminal throws me on a command line below |
Beta Was this translation helpful? Give feedback.
Make sure you run
npm install graphql @graphql-codegen/cli
before. Otherwise please create a reproduction by following this template;https://github.com/dotansimha/graphql-code-generator/issues/new?assignees=&labels=&template=bug_report.md