Skip to content

← All questions

Cannot parse YAML at envs/staging.yaml — all mapping items must start at the same column

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

Added a use: block to the staging file and now nothing runs:

text
✖ CONFIG_INVALID: Cannot parse YAML at /work/shop-tests/projects/demo-shop/envs/staging.yaml: All mapping items must start at the same column at line 12, column 3
  docs: https://docs.sdods.com/docs/guides/configuration

Line 12 looks identical to line 11 to me.

2 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related