You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be fixed in 8.8.15. In the Ionic versions available when this was filed, @ionic/angular-server crashed on every server render with attachShadow is not a function, because Angular's server DOM doesn't implement Shadow DOM, so Ionic components were sent to the browser unrendered. #30967 fixed this by having the server module detect the missing API and fall back to scoped rendering. It shipped in v8.8.15.
One setup detail: as noted in #28625, Ionic does not support Angular's client hydration (provideClientHydration()), which ng new --ssr adds by default. Leaving it on throws NG0500 in development builds and hasAttribute is not a function in production builds. Either remove provideClientHydration(), or skip hydration for the Ionic tree:
Thanks for the issue! This issue is being closed due to the lack of a reply. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Activity
Saqib92 commentedon Jun 13, 2025
no updates??
julianpoy commentedon Dec 27, 2025
Also blocked on this
thetaPC commentedon Oct 1, 2026
Thanks for the report, and sorry for the delay.
This should be fixed in 8.8.15. In the Ionic versions available when this was filed,
@ionic/angular-servercrashed on every server render withattachShadow is not a function, because Angular's server DOM doesn't implement Shadow DOM, so Ionic components were sent to the browser unrendered. #30967 fixed this by having the server module detect the missing API and fall back to scoped rendering. It shipped in v8.8.15.One setup detail: as noted in #28625, Ionic does not support Angular's client hydration (
provideClientHydration()), whichng new --ssradds by default. Leaving it on throwsNG0500in development builds andhasAttribute is not a functionin production builds. Either removeprovideClientHydration(), or skip hydration for the Ionic tree:Could someone who was blocked on this confirm that it works in your app on the latest version?
ionitron-bot commentedon Oct 15, 2026
Thanks for the issue! This issue is being closed due to the lack of a reply. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Thank you for using Ionic!