0

when building my astro site on vercel i am currently getting the below error:

 error   incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line
  File:
    /vercel/path0/src/pages/posts/hello-world.mdx
  Code:
      1 | ---
    > 2 | layout: "@/layouts/BlogPost"
        |             ^
      3 | title: title
      4 | publishDate: 03/09/2022
      5 | description: title
  • checked the syntax against astro documentation
  • checked for any trailing whitespaces
  • changed layout path to .../layouts/BlogPost
  • confirmed BlogPost file exists
gdwarrior
  • 1
  • 1

0 Answers0