YAML errors??
|
|
I am getting a lot of errors using YAML. They seem to be all related to spacing issues. 2 questions? 1. Is this common? 2. How can I handle this? I generally use E or Netbeans. Thanks, John |
|
|
Hey John, Make sure you’re using spaces, not tabs, in the file. If you’re IDE has some kind of “convert tabs to spaces” menu option, do that on each of your yaml files to clean them up. Then turn on your IDE’s option for using spaces instead of tabs from now on. I don’t know why the YAML spec insists on spaces instead of any kind whitespace. It’s about the only dumb thing in an otherwise very cool file specification. If that helps (or doesn’t) let me know. |