Angular ssr/prerender is broken with 18 #14612
Labels
🐛 bug
Any issue that describes a bug
📉 regression
🔥 severity: high
✨ themes
version: 18.0.x
version: 18.1.x
✅ status: resolved
Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Description
With the current version of the components, there's an error when trying to run a pre-render or ssr build.
Steps to reproduce
The issue, I believe, comes from the
ThemeService
, which callsgetComputetStyle
on theglobalThis
on init.Result
Pre-rendering/SSR is unsuccessful.
Expected result
Pre-rendering/SSR should succeed.
Attachments
https://github.com/BellumGens/bellum-gens/actions/runs/10234144439/job/28313244985?pr=364
The text was updated successfully, but these errors were encountered: