mobxjs/mst-gql

scaffold issue

rohitkmodi opened this issue · 1 comments

Previously scaffold command was working fine to get modal but today is not working.
command: yarn mst-gql --format ts https://domain/graphql --outDir app/models

error: Error: Cannot find module
'graphql/validation/rules/KnownArgumentNamesRule'

tmp_schema.json
Error: Cannot find module
'graphql/validation/rules/KnownArgumentNamesRule'
Require stack:

Try "graphql": "15.7.2" in your package.json. I had this issue when using v16.X.X.