You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Astro v5.1.8
Node v23.1.0
System Linux (x64)
Package Manager pnpm
Output static
Adapter none
Integrations @astrojs/starlight
Describe the Bug
Note : This only seems to occur when running in WSL
I intermittently see this error when saving files on a fresh starlight install (~1 out of 4-5 times)
InvalidContentEntryDataError: **docs → welcome/welcome** data does not match collection schema.
**title**: Required
at getEntryDataAndImages (file:///home/azim/code/hero/core/apps/hero-docs/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/astro/dist/content/utils.js:163:26)
at async parseData (file:///home/azim/code/hero/core/apps/hero-docs/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/astro/dist/content/content-layer.js:192:40)
at async syncData (/home/azim/code/hero/core/apps/hero-docs/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/astro/dist/content/loaders/glob.js:94:28)
at async FSWatcher.onChange (/home/azim/code/hero/core/apps/hero-docs/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/astro/dist/content/loaders/glob.js:233:9)
at process.handleUnhandledRejection (file:///home/azim/code/hero/core/apps/hero-docs/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/astro/dist/vite-plugin-astro-server/plugin.js:69:23)
at process.emit (node:events:507:28)
at emitUnhandledRejection (node:internal/process/promises:252:13)
at throwUnhandledRejectionsMode (node:internal/process/promises:388:19)
at processPromiseRejections (node:internal/process/promises:475:17)
at process.processTicksAndRejections (node:internal/process/task_queues:106:32)
If I save the file again without making any changes it goes away, but often then doesn't update the page with additional edits until after I manually perform a full page reload
I've tried reproducing :
on a fresh instance of Astro inside WSL
on a fresh instance of Astro outside WSL
on a fresh instance of Starlight outside WSL
on a fresh instance of Starlight on stackblitz
and cannot repro in those environments, suggesting it's something to do with running it inside WSL
What's the expected result?
Edit cycle works as expected on a fresh install
Link to Minimal Reproducible Example
See notes : I can't repro this on stackblitz
Participation
I am willing to submit a pull request for this issue.
The text was updated successfully, but these errors were encountered:
Azim-Palmer
changed the title
Intermittent error when saving file on fresh Starlight instance
Intermittent error when saving file on fresh Starlight instance in WSL
Jan 22, 2025
Astro Info
Describe the Bug
Note : This only seems to occur when running in WSL
I intermittently see this error when saving files on a fresh starlight install (~1 out of 4-5 times)
If I save the file again without making any changes it goes away, but often then doesn't update the page with additional edits until after I manually perform a full page reload
I've tried reproducing :
and cannot repro in those environments, suggesting it's something to do with running it inside WSL
What's the expected result?
Edit cycle works as expected on a fresh install
Link to Minimal Reproducible Example
See notes : I can't repro this on stackblitz
Participation
The text was updated successfully, but these errors were encountered: