Syntax Error: Unexpected <EOF>
See original GitHub issueHello. I am testing this package out with the following config and schema file:
introspection:
schemaFile: ./sdl.gpl
type Query {
staff(staffId: Int!): Staff
}
"""
Our fearless staff
"""
type Staff {
"""
Staff ID
"""
staffId: Int
"""
Staff first name
"""
firstName: String
"""
Staff last name
"""
lastName: String
email: String
fightsBearsAndWins: Boolean
}
When running npx spectaql config.yml
I get the following error:
Syntax Error: Unexpected <EOF>.
Even when the schema file is empty the error occurs.
On version 0.12.0 on Ubuntu. npm version is 6.14.6.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7
Top Results From Across the Web
Python Unexpected EOF While Parsing: The Way To Fix It
The error “unexpected EOF while parsing” occurs when the interpreter reaches the end of a Python file before every code block is complete....
Read more >SyntaxError: unexpected EOF while parsing - Stack Overflow
The SyntaxError: unexpected EOF while parsing means that the end of your source code was reached before all code blocks were completed.
Read more >Python SyntaxError: unexpected EOF while parsing Solution
The “SyntaxError: unexpected EOF while parsing” error occurs when the end of your source code is reached before all code is executed. This ......
Read more >SyntaxError: unexpected EOF while parsing - LearnDataSci
EOF stands for "end of file," and this syntax error occurs when Python detects an unfinished statement or block of code. This can...
Read more >SyntaxError: unexpected EOF while parsing - STechies
The SyntaxError: unexpected EOF while parsing error also is known as parsing error where the control in the program/code reaches to the end,...
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
This is now out in
1.0.0
It seems that spectaql does not recognise the
.gpl
file extension (might be a typo anyways?). This config works on my end: