graphiql icon indicating copy to clipboard operation
graphiql copied to clipboard

graphql-codegen Syntax error when installing graphiql package

Open sanalpanicker opened this issue 2 years ago • 0 comments

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

sanalpanicker avatar Nov 09 '23 23:11 sanalpanicker