-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
I don't know error in which line from error message #506
Comments
Thanks for submitting that @tokisakiyuu. True. I'm suspecting it's a syntax error of |
v0.18.1 out
v0.18.2 will out:
|
…ce file and position information (#510)
Please try v0.18.2 and tell me what you think. |
that looks great, thank you |
sorry, after upgrade to
# ...
query OneArticle($id: String, $shorthand: String!) {
# the cause of the error is here is nothing write
}
# ... command line : yuu:writa-next zhaoliping$ npx graphql-let
[ 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) |
Thank you @tokisakiyuu, it seems I missed another path that writes your message! I'll reopen it. |
v0.18.4 must print the exact wrong line like this. I've missed
|
package version:
0.18.1
The text was updated successfully, but these errors were encountered: