Hi!
I'm hoping someone can help me troubleshoot this issue: I created a very simple content collection and everything was working fine, I managed to access the entries just fine in dev mode and set the schema and all that... But when I ran the check & sync commands, I started getting this error:
[ERROR] [content] [GenerateContentTypesError] `astro sync` command failed to generate content collection types: module is not defined
Hint:
Check your `src/content/config.*` file for typos.
Error reference:
https://docs.astro.build/en/reference/errors/generate-content-types-error/
Stack trace:
at (...my home...)/Library/pnpm/store/v3/tmp/dlx-53773/node_modules/.pnpm/astro@4.8.2/node_modules/astro/dist/core/sync/index.js:110:11
[...] See full stack trace in the browser, or rerun with --verbose.
Caused by:
module is not defined
at eval (/(...my app...)/node_modules/.pnpm/cssesc@3.0.0/node_modules/cssesc/cssesc.js:112:1)