Thinkmill / keystatic

First class CMS experience, TypeScript API, Markdown & YAML/JSON based, no DB
https://keystatic.com
MIT License
1.19k stars 78 forks source link

RangeError An error occurred. Invalid time value #1098

Closed neo-art closed 5 months ago

neo-art commented 5 months ago

Hello,

I am trying to add Keystatic to the existing Astro project but I got the following error message: RangeError An error occurred. Invalid time value date-fns/format.mjs:352:11

Screenshot 2024-04-25 at 22 27 11

Any idea what can cause the issue?

This is the template I am adding Keystatic: https://github.com/themefisher/bookworm-light-astro.git

emmatown commented 5 months ago

date-fns isn't used by Keystatic so this isn't an issue with Keystatic. date-fns looks to be used by the template you're using, that means somehow an invalid date being passed in there

neo-art commented 5 months ago

Understood, appreciate the response