Skip to content
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

Graphql-js tutorial mutation './src/schema.graphql' #66

Open
tuscanlabs opened this issue Aug 10, 2019 · 0 comments
Open

Graphql-js tutorial mutation './src/schema.graphql' #66

tuscanlabs opened this issue Aug 10, 2019 · 0 comments

Comments

@tuscanlabs
Copy link

Following the tutorial, a simple mutation, I am getting error at './src/schema.graphql'. I am using node version v11.1.0

/Users/raghu/Documents/hackernews-node/node_modules/graphql/language/lexer.js:280
throw (0, _syntaxError.syntaxError)(source, pos, unexpectedCharacterMessage(code));
^
GraphQLError: Syntax Error: Cannot parse the unexpected character "/".
at syntaxError (/Users/raghu/Documents/hackernews-node/node_modules/graphql/error/syntaxError.js:15:10)
at readToken (/Users/raghu/Documents/hackernews-node/node_modules/graphql/language/lexer.js:280:38)
at Object.lookahead (/Users/raghu/Documents/hackernews-node/node_modules/graphql/language/lexer.js:55:43)
at Object.advanceLexer [as advance] (/Users/raghu/Documents/hackernews-node/node_modules/graphql/language/lexer.js:45:33)
at expectOptionalToken (/Users/raghu/Documents/hackernews-node/node_modules/graphql/language/parser.js:1440:11)
at many (/Users/raghu/Documents/hackernews-node/node_modules/graphql/language/parser.js:1517:11)
at parseFieldsDefinition (/Users/raghu/Documents/hackernews-node/node_modules/graphql/language/parser.js:852:54)
at parseObjectTypeDefinition (/Users/raghu/Documents/hackernews-node/node_modules/graphql/language/parser.js:806:16)
at parseTypeSystemDefinition (/Users/raghu/Documents/hackernews-node/node_modules/graphql/language/parser.js:704:16)
at parseDefinition (/Users/raghu/Documents/hackernews-node/node_modules/graphql/language/parser.js:137:16)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant