faustjs
faustjs copied to clipboard
Bug: graphql.print is not a function
Following this tutorial https://faustjs.org/docs/tutorial/setup-faustjs
Fails at "npm run generate"
Using "{OUR_DOMAIN}//graphql" to generate schema... [TypeError: graphql.print is not a function] npm ERR! code ELIFECYCLE
Applicable Versions
"@faustjs/core": "^0.15.6", "@faustjs/next": "^0.15.6",
- WordPress version: 5.9.3
Steps To Reproduce
- Follow tutorial up to "npm run generate"
This bug can be worked around by installing an older version of graphql (15.8.0).
@DannyAgent Thanks for reporting this!
Do you mind trying this again using {OUR_DOMAIN}/graphql instead of {OUR_DOMAIN}//graphql?
Hi, thanks for your response. I'm no longer working on the project that I had this issue with. However, I believe that the // may have been a typo in my original question, but not 100% sure. Sorry I can't be any more help than that.
I'm closing this issue due to inactivity.