#10477·polar

@polar-sh/astro is currently incompatible with astro v6

Author: grctestCreated Mar 20, 2026Updated Aug 12, 2026
Labelssdk/adapters

Description

Trying to install the polar astro adapter doesn't work when astro v6 is installed?

bash
npm i @polar-sh/astro
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/astro
npm error   astro@"^6.0.7" from the root project
npm error
npm error Could not resolve dependency:
npm error peer astro@"^5.0.0" from @polar-sh/[email protected]
npm error node_modules/@polar-sh/astro
npm error   @polar-sh/astro@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

Current Behavior

Unable to install astro adapter.

Expected Behavior

Able to install astro adapter.

https://docs.astro.build/en/guides/upgrade-to/v6/

Environment:

  • Windows