Error in gatsby-docs-kit.yml causes Unhandled Exception
Closed this issue · 3 comments
kkoscielniak commented
Erroneous data in gatsby-docs-kit.yml
causes Unhandled Exception and, ultimately, Gatsby crashes.
Steps to reproduce
- Open
gatsby-docs-kit.yml
- Add duplicate of a key to YAML file:
items:
- title: Render component when all the permissions match
file: permissionsMatch.md
items:
- title: Render component when one of the permissions match
file: oneMatch.md
- Check Gatsby console:
error UNHANDLED EXCEPTION
YAMLException: duplicated mapping key at line 29, column -102:
items:
piotr-s-brainhub commented
for me duplicated mapping key at line 29
provides enough info about the error
kkoscielniak commented
This info still doesn't fix the issue. The thing to resolve is quitting the gatsby
itself whenever the issue with duplicated key occurs.
RobertHebel commented
This issue doesn't occur in the newest version.
Please reopen if you somehow manage to reproduce it