Hello everyone,
I’m running into some issues with my Jekyll site and could use some help. When I try to build my site, I get the following error message:
Configuration file: (invalid YAML syntax)
Why I am getting this error? Although, I’ve double-checked my _config.yml
file, but I can’t seem to figure out what’s wrong.
When I was searching about this, I came across these resources/articles gcp interview questions Errors in JetBrains IDE for legitimate Jekyll syntax, where the error was explained with solution, and based on them, I tried the following-
Validated YAML Syntax through online YAML validator, and it says the syntax is correct.
Checked Indentation
I tried removing all comments to see if they were causing issues, but the error persists.
I stripped down the _config.yml
to the bare minimum to see if a specific configuration line was causing the problem.
Has anyone else encountered this issue or has any tips on what might be going wrong? Any help would be greatly appreciated!
Thank you in advance!