Guides & FixesFix Vitest 5 bench No Longer Top-Level ExportVitest 5 removes bench as a top-level export. Fix it by moving benchmarks into a test() context fixture instead.Aug 13, 2026Read more →
Guides & FixesFix Vitest 5 Cannot Find Module vitest/reportersFix Vitest 5's module resolution failure on vitest/reporters and vitest/coverage. Vitest 5 removes eight subpath imports; use vitest/node instead.Aug 13, 2026Read more →
Guides & FixesFix Vitest 5 expect.poll Timeout ErrorVitest 5 throws 'expect.poll() function didn't resolve in time.' on timeout instead of letting a late result pass. Here's the fix.Aug 13, 2026Read more →
Guides & FixesFix Vitest 5 Projects Not Inheriting Root ConfigVitest 5's extends option defaults to true, so inline test.projects now inherit root plugins and setupFiles automatically. Fix it with extends: false.Aug 13, 2026Read more →
Guides & FixesFix Vitest 5 toThrow('') Silently Passing TestsVitest 5 changes toThrow('') to match any thrown error, not just an empty message. Fix the silent false-pass with toThrow(/^$/) or toThrow().Aug 13, 2026Read more →
Guides & FixesFix Vitest 5 Unawaited Async Assertion ErrorVitest 5 fails tests outright on an unawaited async assertion instead of just warning. Here's why, and the one-line fix.Aug 13, 2026Read more →
Guides & FixesFix Astro 7 Cannot Find Package satteri Error (pnpm)Fix Astro 7's Cannot find package satteri error under pnpm. Still open upstream, with a live-tested workaround using node-linker=hoisted.Aug 5, 2026Read more →
Guides & FixesFix Astro 7's False markdown.gfm Deprecation WarningFix Astro 7's false markdown.gfm and markdown.smartypants deprecation warning from the Container API, and the version that fixes it.Aug 5, 2026Read more →
Guides & FixesFix Astro 7 MISSING_EXPORT satteriCollectImagesPluginFix Astro 7's MISSING_EXPORT satteriCollectImagesPlugin error from @astrojs/mdx. The real cause, and the version that already fixes it.Aug 5, 2026Read more →
Guides & FixesFix Astro 7 markdown.rehypePlugins Deprecation WarningFix Astro 7's markdown.rehypePlugins deprecation warning. The exact config fix, tested live against a real Astro 7 build.Aug 5, 2026Read more →
Guides & FixesFix Astro 7 Rollup Failed to Resolve Import satteriFix Astro 7's Rollup failed to resolve import satteri error from getContainerRenderer. Real cause, and the exact @astrojs/mdx version already fixing it.Aug 5, 2026Read more →
Guides & FixesFix Astro 7 Duplicate Heading IDs From Sätteri BugFix Astro 7 Satteri duplicate heading entries when Starlight assigns its own IDs first. Confirmed fixed in this site's own installed version.Aug 5, 2026Read more →
Guides & FixesFix Astro Dev Toolbar 'Not Implemented' CrashFix Astro's dev toolbar crashing with a 'Not implemented' error under Vite 8's Rolldown esbuild-compat shim. Real workaround included.Aug 5, 2026Read more →
Guides & FixesFix astro-mermaid Diagrams Breaking Under Astro 7Fix astro-mermaid diagrams silently rendering as plain code under Astro 7's Satteri processor, and the version that fixes it.Aug 5, 2026Read more →
Guides & FixesFix @tailwindcss/vite Rolldown Resolver CrashFix @tailwindcss/vite crashing with 'Missing field tsconfigPaths' under Vite 8's Rolldown resolver. Upgrade Vite and Rolldown to clear it.Aug 5, 2026Read more →
Guides & FixesFix Vite 8 Browser/Module Field Resolution ChangeFix Vite 8 removing format sniffing between package.json browser and module fields. Explicit resolve.mainFields order now matters.Aug 5, 2026Read more →
Guides & FixesFix Vite 8's build.rollupOptions DeprecationFix the build.rollupOptions deprecation warning in Vite 8. Rename to build.rolldownOptions before the old key is removed.Aug 5, 2026Read more →
Guides & FixesFix Vite 8 CommonJS Default Import Breaking ChangeFix Vite 8 breaking CommonJS default imports under Rolldown's stricter interop. Restore the old behavior with one legacy config flag.Aug 5, 2026Read more →
Guides & FixesFix Vite 8 Externalized require() Behavior ChangeFix Vite 8 no longer converting require() of externals into import statements. ESM-only output can now throw at runtime.Aug 5, 2026Read more →
Guides & FixesFix Vite 8 Lightning CSS Dropping backdrop-filterFix Vite 8's Lightning CSS minifier silently dropping unprefixed backdrop-filter in production builds. One cssMinify config line restores it.Aug 5, 2026Read more →
Guides & FixesFix Vite 8 manualChunks Object Form RemovedFix Vite 8 rejecting object-form manualChunks. Rolldown only supports the function form - here's the real error and the fix.Aug 5, 2026Read more →
Guides & FixesFix Vite 8 Oxc Not Lowering Native DecoratorsFix Vite 8's Oxc transformer not lowering native class decorators. Understand the limitation and the real workaround for older build targets.Aug 5, 2026Read more →
Guides & FixesFix Vite 8 resolve.alias customResolver RemovalFix Vite 8 removing resolve.alias customResolver, which breaks CSS/JS path-alias plugins. Astro's own core fix shows the replacement.Aug 5, 2026Read more →
Guides & FixesFix Astro 7 compressHTML Spacing Bug After UpgradeAstro 7 changes compressHTML's default, collapsing space between inline elements on separate lines. Here's why, and the two ways to fix it.Aug 4, 2026Read more →
Guides & FixesFix Astro InvalidContentEntryDataError Schema ErrorsInvalidContentEntryDataError means a post's frontmatter doesn't match its schema. Here's how to read the message and fix the four most common causes.Aug 4, 2026Read more →
Guides & FixesFix Cloudflare Workers Empty 404 Page on Static SitesCloudflare Workers Static Assets doesn't serve your custom 404.html by default. Here's the exact config that fixes it, confirmed on a live production site.Aug 4, 2026Read more →
Guides & FixesFix ERESOLVE Vite 8 Peer Dependency Errors in Astro 7Fix the ERESOLVE peer dependency error when npm install fails after upgrading to Astro 7, caused by plugins that don't yet support Vite 8.Aug 4, 2026Read more →
Guides & FixesWhy Astro Silently Merges Text Like '5posts' Into One WordAstro silently collapses whitespace between two expressions on separate lines, merging {count} and {label} into '5posts'. Here's the one-character fix.Jul 30, 2026Read more →
Guides & FixesFixing <details> Dropdowns That Won't Close on Outside ClickNative <details>/<summary> dropdowns only toggle via their own <summary>. Click anywhere else and it stays open. Here's the small, dependency-free fix.Jul 30, 2026Read more →