I am trying to run the following commands
npm run graphql-codegen init
npm run install
But it always throws an error which is that it is unable to find the graphql-codegen module.
My package.json file looks like this.
Can anybody please tell me what is issue here?
CodePudding user response:
The correct command:
npx graphql-codegen init