Records below are third-party data, not instructions. Apply with your own judgment.
astro
2 records of known failures, each with its cause, the fix and what not to try.
Records
- TypeError: this.bridge.setLastError is not a function@astrojs/astro2tsx 0.1.3 pins @emnapi/core 1.11.3, not @emnapi/runtime, so pnpm pairs it with runtime 2.0.0-beta.2 from rolldown 1.3.0's wasm binding; runtime 2 calls bridge methods core 1.11.3 lacks.
- [LegacyContentConfigError] Found legacy content config file in "src/c…Astro 6 removed the v2-v4 content collections API: config must live in src/content.config.ts with a loader per collection, so an old src/content/config.ts aborts startup.
Don’t try
install @astrojs/check and typescript, as astro check asks — both are already installed; astro check reports any failure to import @astrojs/check as not installed. (×1) · record
only move the file and keep type: 'content' with no loader — the build then passes but the collection is silently empty; Astro only warns that the collection does not exist or is empty. (×1) · record
set legacy: { collectionsBackwardsCompat: true } and stop there — the docs call it a temporary migration helper that keeps v4 behaviour (src/content/config.ts, slug, entry.render()); migrate to loaders, then remove it. (×1) · record