sveltia / sveltia-cms

Alternative to Netlify/Decap CMS. Fast, lightweight, Git-based headless CMS. Modern UX, first-class i18n support, open source & free. Made with Svelte.
MIT License
819 stars 38 forks source link

"The backend is not defined in the configuration file" #34

Closed pieterdd closed 1 year ago

pieterdd commented 1 year ago

On a fairly clean install, I see this:

image

Minimally reproducible example at https://storied-cassata-937890.netlify.app/admin/ with the config being loaded from https://storied-cassata-937890.netlify.app/admin/config.yml, which includes this:

backend:
  name: git-gateway
  branch: main

Am I forgetting a config step? It worked with DecapCMS.

kyoshino commented 1 year ago

Hey, thanks for checking out Sveltia CMS! Unfortunately, only the GitHub backend is supported at this time, as mentioned in the README. I can’t provide an ETA to add support for Git Gateway.

kyoshino commented 1 year ago

I think the error message (backend not defined) is wrong for some reason. I’ll fix it anyway...

pieterdd commented 1 year ago

Bingo. I had misunderstood the docs. I had already migrated my repo from GitLab to GitHub specifically for that reason, but didn't realize I should also cut out git-gateway as the middleman.

I assume this will fix my issue. Trying that tomorrow morning. Thanks for the quick response!

pieterdd commented 1 year ago

It did! Thanks for the diagnosis. I'll leave the ticket open so the error message can be changed.