-
-
Notifications
You must be signed in to change notification settings - Fork 571
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
Hybrid mode for astro SSR does not prerender pages on Mac #1989
Comments
Thanks for your report. Is this the exact same repro you're testing or something similar? I'm asking because I just tried downloading the repro and building it on macOS and did not get the issue you're seeing. The only change I made was removing the I used the "Download ZIP" button in the file explorer to download the repro and ran If you re-download the repro and try again, does it still fail for you? |
It's the same one running from my local. I actually tried to reproduce it locally, using npmjs.org as registry, and I have it. This is way too weird. |
Yes, I actually tried also from my own macbook...same issue. Do you know how could I potentially debug/trace it? |
I think it's an astro related problem. I will open a bug there. Right now you can look the following logs for MacOS and Codesandbx Same repo, different behaviour. The only real difference is the underlying OS. |
Problem identified. Not a Starlight problem. |
What version of
starlight
are you using?0.23.4
What version of
astro
are you using?4.10.1
What package manager are you using?
npm
What operating system are you using?
Mac
What browser are you using?
Edge
Describe the Bug
Astro seems not able to pre-render pages in a hybrid environment.
According to the manual, astro pages are always pre-rendered which should make it compatible with an hybrid installation.
However, using such config leads to no starlight page pre-rendered. All other astro pages, outside starlight, are prerendered. I found this noticing that during the build,
pagefind
was not finding any html page.Without the hybrid mode:
and with the hydrid mode enabled:
I am working to a reproducible example. The one on Stackblitz seems to work, but the exact same repo on my local macbook M3 does not.
Link to Minimal Reproducible Example
https://stackblitz.com/~/github.com/LunaticMuch/fuzzy-giggle
Participation
The text was updated successfully, but these errors were encountered: