leerob / site

My site built with Next.js, Tailwind, and Vercel.
https://leerob.com
7.2k stars 1.39k forks source link

failed with YAMLParseError #663

Closed XahidEx closed 1 year ago

XahidEx commented 1 year ago

Unexpected scalar at node end at line 4, column 201: (like this). This error occurs when I'm adding a new mdx. Even if It's simple as this:

---
title: 'test'
publishedAt: '2023-12-12'
summary: 'test'
---

Test

What can be the problem here?

XahidEx commented 1 year ago

That was an issue with the latest contentlayer. If anyone else facing this issue, downgrade your contentlayer.