Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexedDB backend always become "Out of sync!" after refresh #26

Open
yaindrop opened this issue Jan 15, 2025 · 2 comments
Open

IndexedDB backend always become "Out of sync!" after refresh #26

yaindrop opened this issue Jan 15, 2025 · 2 comments
Assignees
Labels
needs more info More information is needed to confirm or diagnose the issue

Comments

@yaindrop
Copy link

yaindrop commented Jan 15, 2025

Uncaught (in promise) _ErrnoError: No such file or directory (Out of sync!)

Tested on version

 "@zenfs/core": "^1.8.0",
 "@zenfs/dom": "^1.1.3",

In my project it can be reproduced by

  1. Mount the IndexedDB backend and write some files
  2. Refresh
  3. Mount the IndexedDB backend and read those files

Also tested in version 1.7.2 and it seems fine.

I'll try to make a minimal example if it cannot be reproduced.

@james-pre
Copy link
Member

Thanks for opening an issue. @zenfs/core 1.8 includes numerous API changes. While you should be able to use a 1.8 backend with the 1.7 core, you probably can't use a 1.7 backend with the 1.8 core.

@zenfs/core 1.8.1 is in the works, after which updates to the other packages will be done.

I apologize for any inconvenience, for now please use @zenfs/core 1.7.2.

@james-pre james-pre transferred this issue from zen-fs/core Jan 15, 2025
@james-pre james-pre self-assigned this Jan 15, 2025
@james-pre james-pre added bug needs more info More information is needed to confirm or diagnose the issue labels Jan 15, 2025
@yaindrop
Copy link
Author

Great to know that. Thank you for the hard work!

@james-pre james-pre removed the bug label Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info More information is needed to confirm or diagnose the issue
Projects
None yet
Development

No branches or pull requests

2 participants