{"id":10382,"library":"astro","title":"Astro Web Framework","description":"Astro is an all-in-one web framework designed for building fast websites with a focus on web best practices and developer experience. It enables developers to pull content from anywhere and deploy everywhere, utilizing their favorite UI components and libraries. The current stable version is 6.1.7, with frequent patch releases addressing bug fixes and improvements across the core framework and its various adapters and integrations.","status":"active","version":"6.1.7","language":"javascript","source_language":"en","source_url":"https://github.com/withastro/astro","tags":["javascript","typescript"],"install":[{"cmd":"npm install astro","lang":"bash","label":"npm"},{"cmd":"yarn add astro","lang":"bash","label":"yarn"},{"cmd":"pnpm add astro","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[],"quickstart":{"code":"npm create astro@latest\n\n# Follow the prompts to set up your project","lang":"typescript","description":"Initializes a new Astro project using the latest version, guiding you through setup options like framework integrations and project structure."},"warnings":[{"fix":"Upgrade your Node.js environment to version 22.12.0 or newer.","message":"Astro 6.x requires Node.js version 22.12.0 or higher to run. Projects on older Node.js versions will fail to start or build.","severity":"breaking","affected_versions":">=6.0.0"},{"fix":"Upgrade the `astro` package to version 6.1.6 or later.","message":"When using `output: 'static'` with an adapter, builds could fail with an `ActionsWithoutServerOutputError`.","severity":"gotcha","affected_versions":">=6.0.0 <6.1.6"},{"fix":"Upgrade `@astrojs/svelte` to version 8.0.5 or later, and `@astrojs/cloudflare` to 13.1.9 or later.","message":"Svelte files located within `node_modules` might fail with an `Unknown file extension \".svelte\"` error when using the Cloudflare adapter with `prerenderEnvironment: 'node'`.","severity":"gotcha","affected_versions":"@astrojs/svelte <8.0.5, @astrojs/cloudflare <13.1.9"},{"fix":"Upgrade the `@astrojs/cloudflare` package to version 13.1.8 or later.","message":"When using Cloudflare Queues with prerendered pages, an `ERR_MULTIPLE_CONSUMERS` error could occur.","severity":"gotcha","affected_versions":"@astrojs/cloudflare <13.1.8"}],"env_vars":null,"last_verified":"2026-04-18T00:00:00.000Z","next_check":"2026-07-17T00:00:00.000Z","problems":[{"fix":"Update your `astro` package to version `6.1.6` or higher (`npm install astro@latest`).","cause":"Using `output: 'static'` with an adapter in Astro versions prior to 6.1.6.","error":"ActionsWithoutServerOutputError"},{"fix":"Update `@astrojs/svelte` to `8.0.5` or later and `@astrojs/cloudflare` to `13.1.9` or later (`npm update @astrojs/svelte @astrojs/cloudflare`).","cause":"This error can occur when using the Cloudflare adapter with `prerenderEnvironment: 'node'` and having Svelte files in `node_modules` on older `@astrojs/svelte` or `@astrojs/cloudflare` versions.","error":"Unknown file extension \".svelte\""},{"fix":"Update `@astrojs/cloudflare` to version `13.1.8` or later (`npm update @astrojs/cloudflare`).","cause":"This error occurs when using Cloudflare Queues alongside prerendered pages with older versions of the `@astrojs/cloudflare` adapter.","error":"ERR_MULTIPLE_CONSUMERS"}],"ecosystem":"npm"}