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

Weird issue when using local Repo #30

Closed Arbee4ever closed 1 year ago

Arbee4ever commented 1 year ago

For some reason, whenever I try to use my local repo, it doesn't work and I get the error: "sveltia-cms.js:442 Uncaught (in promise) DOMException: A requested file or directory could not be found at the time an operation was processed." in the console... It worked before, but now seemingly out of nowhere, it doesn't anymore.

kyoshino commented 1 year ago

@Arbee4ever Thanks for reporting! It might have regressed at some point. Will check what’s happening later today.

kyoshino commented 1 year ago

Can’t figure out the exact reason for the exception, but it could happen, for example, when the project root directory has been moved or renamed. I have added proper error handling to the local backend to avoid the issue. Will deploy the fix tonight!

Arbee4ever commented 1 year ago

Nice, it works again. Thanks a lot :D