-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
experimental.contentCollectionCache
causes error on build
#9499
Comments
Came here to file the same bug.
I don't have it configured at the moment, but it's happening locally in this repo: https://github.com/raygesualdo/raygesualdo.com |
I am wondering if this is related to content files having duplicate content? I was able to reproduce in a fresh Astro project like this:
This reliably fails for me on the second build after copying a content file without changing its contents. |
Any update on this? I am experiencing the same issue. @dawaltconley's theory might add up as in my situation I have events where some are recurring. In these cases the file is copied to an occurences collection with a dated filename but the same content. |
I found that caching inside node_modules were unreliable. Setting a /cache folder on root project would alleviate all the issues |
I just tried that and I am getting the same error.
|
Clean node_modules and retry that if you haven't |
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
When enabling the content collection cache flag, my project fails to build with some import error.
Edit: Here is a picture of the error:
What's the expected result?
The project builds without error.
Link to Minimal Reproducible Example
https://github.com/mProjectsCode/obsidian-stats/tree/346c047c3aea51d6e69a4b80e8f7a28a54830895
Participation
The text was updated successfully, but these errors were encountered: