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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weird issue when using local Repo

Arbee4ever opened this issue · comments

commented

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.

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

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!

commented

Nice, it works again. Thanks a lot :D