You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. Upon running graphql-codegen, I'm seeing syntax errors reported:
GraphQLError: Syntax Error: Expected Name, found "=".
at syntaxError (/Users/jacob/code/tempo/node_modules/.pnpm/[email protected]/node_modules/graphql/error/syntaxError.js:15:10)
at Parser.expectToken (/Users/jacob/code/tempo/node_modules/.pnpm/[email protected]/node_modules/graphql/language/parser.js:1397:40)
at Parser.parseName (/Users/jacob/code/tempo/node_modules/.pnpm/[email protected]/node_modules/graphql/language/parser.js:108:24)
at Parser.parseField (/Users/jacob/code/tempo/node_modules/.pnpm/[email protected]/node_modules/graphql/language/parser.js:347:30)
at Parser.parseSelection (/Users/jacob/code/tempo/node_modules/.pnpm/[email protected]/node_modules/graphql/language/parser.js:337:14)
at Parser.many (/Users/jacob/code/tempo/node_modules/.pnpm/[email protected]/node_modules/graphql/language/parser.js:1511:26)
at Parser.parseSelectionSet (/Users/jacob/code/tempo/node_modules/.pnpm/[email protected]/node_modules/graphql/language/parser.js:320:24)
at Parser.parseField (/Users/jacob/code/tempo/node_modules/.pnpm/[email protected]/node_modules/graphql/language/parser.js:365:16)
at Parser.parseSelection (/Users/jacob/code/tempo/node_modules/.pnpm/[email protected]/node_modules/graphql/language/parser.js:337:14)
at Parser.many (/Users/jacob/code/tempo/node_modules/.pnpm/[email protected]/node_modules/graphql/language/parser.js:1511:26) {
path: undefined,
locations: [ { line: 7, column: 32 } ],
extensions: [Object: null prototype] {}
}
But, this output does not help me to find the syntax error. The traceback is all in the graphql parser internals, and there's no indication of the file in which the error was encountered. Any suggestions?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi. Upon running graphql-codegen, I'm seeing syntax errors reported:
But, this output does not help me to find the syntax error. The traceback is all in the graphql parser internals, and there's no indication of the file in which the error was encountered. Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions