avitorio / outstatic

Outstatic - A static CMS for Next.js
https://Outstatic.com
MIT License
2.67k stars 157 forks source link

Outstatic fails to create a Collection if repository is empty #48

Closed yeskunall closed 1 year ago

yeskunall commented 1 year ago

Hey Andre!

This is a cool product. FYI: as the title states, Outstatic will throw an error if your repository (OST_REPO_SLUG) is empty. The UI error message is also not very helpful. Here’s the console error, though:

image

Not sure if it’s possible to catch this specific error, but I do think it would be a great UX improvement regardless. For now, I think updating the docs should be more than enough.

💖

avitorio commented 1 year ago

Hey @yeskunall,

Thanks for flagging this. It should already be fixed in the latest version. Can you confirm you are using 0.0.33-rc?

CleanShot 2022-11-03 at 13 30 26@2x
avitorio commented 1 year ago

Hi @yeskunall, I'm closing this due to inactivity. Feel free to reach out in case you are still facing problems.