Closed scottaw66 closed 1 year ago
@shishkin please merge this as soon as possible
Thanks for the PR, @scottaw66. I understand that it might be a blocker for some users. However I don't want to just "declare" compatibility without actually making astro-pagefind work on Astro 3. I have renovate bot that does updates from time to time and the Astro 3 branch has some issues at the moment. I will look into it some time or maybe the issue will be just fixed upstream with Astro (the 3 major update was not very smooth so far).
Hi,
Is there a temporary workaround for Astro 3 users who dare to live on the edge?
I have tried npm install https://github.com/scottaw66/astro-pagefind#main
without success.
Fixes astro peer dependency issue with Astro 3.0 versions.
npm ERR! Found: astro@3.0.7 npm ERR! node_modules/astro npm ERR! astro@"^3.0.7" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer astro@"^2.0.4" from astro-pagefind@1.2.3 npm ERR! node_modules/astro-pagefind npm ERR! astro-pagefind@"*" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.