I don't know error in which line from error message
See original GitHub issuepackage version: 0.18.1
[ graphql-let ] Processing 2 codegen...
[ graphql-let ] Syntax Error: Expected Name, found "}".
GraphQLError: Syntax Error: Expected Name, found "}".
at syntaxError (/Applications/myspace/projects/writa-next/node_modules/graphql/error/syntaxError.js:15:10)
at Parser.expectToken (/Applications/myspace/projects/writa-next/node_modules/graphql/language/parser.js:1413:40)
at Parser.parseName (/Applications/myspace/projects/writa-next/node_modules/graphql/language/parser.js:98:22)
at Parser.parseField (/Applications/myspace/projects/writa-next/node_modules/graphql/language/parser.js:295:28)
at Parser.parseSelection (/Applications/myspace/projects/writa-next/node_modules/graphql/language/parser.js:284:81)
at Parser.many (/Applications/myspace/projects/writa-next/node_modules/graphql/language/parser.js:1523:26)
at Parser.parseSelectionSet (/Applications/myspace/projects/writa-next/node_modules/graphql/language/parser.js:271:24)
at Parser.parseOperationDefinition (/Applications/myspace/projects/writa-next/node_modules/graphql/language/parser.js:199:26)
at Parser.parseDefinition (/Applications/myspace/projects/writa-next/node_modules/graphql/language/parser.js:137:23)
at Parser.many (/Applications/myspace/projects/writa-next/node_modules/graphql/language/parser.js:1523:26)
[ graphql-let ] Something went wrong
ListrError: Something went wrong
at /Applications/myspace/projects/writa-next/node_modules/listr/index.js:102:18
at async executeCodegen (/Applications/myspace/projects/writa-next/node_modules/@graphql-codegen/cli/index.cjs.js:917:5)
at async Object.generate (/Applications/myspace/projects/writa-next/node_modules/@graphql-codegen/cli/index.cjs.js:1214:25)
at async processGraphQLCodegen (/Applications/myspace/projects/writa-next/node_modules/graphql-let/dist/lib/codegen.js:139:19)
at async Object.processCodegenForContext (/Applications/myspace/projects/writa-next/node_modules/graphql-let/dist/lib/codegen.js:169:12)
at async gen (/Applications/myspace/projects/writa-next/node_modules/graphql-let/dist/gen.js:82:9)
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
When I catch an exception, how do I get the type, file, and line ...
To sum it, I created a page to show errors. Return this on exception. context={ 'details':'Type of error:{}:Function name:{}: ...
Read more >How to find the error line - MSDN - Microsoft
To find out where the error occurs, you could "open the call stack (Debug > Window > Call Stack) to see what functions...
Read more >8. Errors and Exceptions — Python 3.11.1 documentation
The last line of the error message indicates what happened. Exceptions come in different types, and the type is printed as part of...
Read more >How to implement error handling in SQL Server - SQLShack
ERROR_LINE – Returns the line number at which an error happened on. ERROR_PROCEDURE – Returns the name of the stored procedure or function. ......
Read more >Python errors and exceptions
Here, Python tells us that there is a SyntaxError on line 1, and even puts a little arrow in the place where there...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
v0.18.1 out
v0.18.2 will out:
v0.18.4 must print the exact wrong line like this. I’ve missed
e.toString()
API ofGraphQLError
😣