Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Astro] Support Astro 5.x #206

Open
oliverlynch opened this issue Jan 9, 2025 · 0 comments
Open

[Astro] Support Astro 5.x #206

oliverlynch opened this issue Jan 9, 2025 · 0 comments

Comments

@oliverlynch
Copy link
Contributor

Currently, trying to update Astro to version 5+ fails due to a @bookshop/astro-engine peer dependency conflict.

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@"^5.1.3" from the root project
npm error
npm error Could not resolve dependency:
npm error peer astro@"^2.0.0 || ^3.0.0 || ^4.0.0" from @bookshop/[email protected]
npm error node_modules/@bookshop/astro-engine
npm error   @bookshop/astro-engine@"3.12.0" from the root project

Setting an override to version 5.1 seems to work fine, so hopefully all that needs changing is a version bump :)

Workaround:

  "overrides": {
    "@bookshop/astro-engine": {
      "astro": "^5.1.0"
    }
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant