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

When initialize DiskStore, there is error: "Cannot access class 'com.supernatural.core.fs.PathComponent'. Check your module classpath for missing or conflicting dependencies" #90

Open
ejeksenov opened this issue Feb 18, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@ejeksenov
Copy link

Describe the bug
When initialize DiskStore like that:
val diskStore = DiskStore(true)
there is error: "Cannot access class 'com.supernatural.core.fs.PathComponent'. Check your module classpath for missing or conflicting dependencies". I have checked caching without persistent storage, and it's working fine. But I need to persist data objects to device storage.

Stacktrace
I have 3 modules in my project:
app(Android)
bff-ui(Android)
sdk(kotlin multiplatform) - all requests to the backend is processing here. And persisting data objects to persistent store here too.

Version
1.0.8

Platforms affected:

  • iOS [ ]
  • Android [ ]
  • JVM [ ]
  • JS [ ]
@ejeksenov ejeksenov added the bug Something isn't working label Feb 18, 2021
@suparngp
Copy link
Owner

I think this is happening because cache is not upgraded like the other packages due to a couple of issues in the build process.
https://github.com/suparngp/kotlin-multiplatform-projects/blob/master/Changelog.MD#v1012

I am traveling at the moment, so it will take some time to fix this. Feel free to raise a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants