Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

graphql-codegen Syntax error when installing graphiql package #3457

Open
sanalpanicker opened this issue Nov 9, 2023 · 0 comments
Open

graphql-codegen Syntax error when installing graphiql package #3457

sanalpanicker opened this issue Nov 9, 2023 · 0 comments

Comments

@sanalpanicker
Copy link

Describe the bug
Running yarn codegen after installing graphiql package throws syntax error:

Expected Name, found "}".

if graphiql package is removed, everything works fine.
Screenshot 2023-11-09 at 3 15 10 PM

I can't figure out what is causing this. Probably some nested dependency issues?

Your Example Website or App
codesandbox : https://shorturl.at/bBPWY

Steps to Reproduce the Bug or Issue
open terminal
Run yarn codegen

Remove graphiql and it works fine.

Expected behavior
I expect it to throw no issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant