Graphql-js: Syntax Error: Cannot parse the unexpected character "."

Created on 9 Oct 2019  路  3Comments  路  Source: graphql/graphql-js

Questions regarding how to use GraphQL

I use graphql to query my github pages issues. but it failed. because when parse: closertb.github.io
image
it throw error:
image

Reporting issues with GraphQL.js

i am surprise that this did not have the same question. am i wrong is use graphql?

Feature requests

GraphQL.js is a reference implementation of the GraphQL specification. To discuss new features which are not GraphQL.js specific and fundamentally change the way GraphQL works, open an issue against the specification.

Security bugs

can you tell me how to fix this?

question

Most helpful comment

Hi @closertb, this probably isn't the right place for this kind of question, since this isn't an issue with graphql-js at all. StackOverflow is a much more appropriate place for this.

That said, the error explains the problem encountered by the parser: the value in name: closertb.github.io needs to be enclosed in ". The same will be true for owner: closertb, which will also cause an error.

All 3 comments

Hi @closertb, this probably isn't the right place for this kind of question, since this isn't an issue with graphql-js at all. StackOverflow is a much more appropriate place for this.

That said, the error explains the problem encountered by the parser: the value in name: closertb.github.io needs to be enclosed in ". The same will be true for owner: closertb, which will also cause an error.

@mike-marcacci Thanks for the excellent answer 馃憦
It helps a lot 馃憤

Hi @closertb, this probably isn't the right place for this kind of question, since this isn't an issue with graphql-js at all. StackOverflow is a much more appropriate place for this.

That said, the error explains the problem encountered by the parser: the value in name: closertb.github.io needs to be enclosed in ". The same will be true for owner: closertb, which will also cause an error.

thanks. i do not aware of that

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gjuchault picture gjuchault  路  4Comments

davide-ganito picture davide-ganito  路  4Comments

benjie picture benjie  路  4Comments

thomasdingemanse picture thomasdingemanse  路  4Comments

mjasnikovs picture mjasnikovs  路  4Comments