# Plenty of Ionic Server Angular Universal Issuers, SSR, Capacitor Preferences getItem error, window is not defined, self is not defined, cannot redefine property constructor

**URL:** <https://forum.ionicframework.com/t/plenty-of-ionic-server-angular-universal-issuers-ssr-capacitor-preferences-getitem-error-window-is-not-defined-self-is-not-defined-cannot-redefine-property-constructor/231316>\
**Category:** Ionic Framework\
**Created:** [February 23, 2023, 7:10pm UTC](https://forum.ionicframework.com/t/plenty-of-ionic-server-angular-universal-issuers-ssr-capacitor-preferences-getitem-error-window-is-not-defined-self-is-not-defined-cannot-redefine-property-constructor/231316 "2023-02-23T19:10:09Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Tommertom](https://avatars.discourse-cdn.com/v4/letter/t/ed8c4c/32.png) [@Tommertom](https://forum.ionicframework.com/u/Tommertom)\
**Post date:** [February 24, 2023, 1:06pm UTC](https://forum.ionicframework.com/t/plenty-of-ionic-server-angular-universal-issuers-ssr-capacitor-preferences-getitem-error-window-is-not-defined-self-is-not-defined-cannot-redefine-property-constructor/231316/2 "2023-02-24T13:06:53Z")

</div>

I don’t think Ionic Angular & SSR are a great fit. There are some older posts here including responses from the team. So I don’t think that will be resolved soon

Seeing the same when trying to integrate with SvelteKit. So, have to disable ssr.

---

_[View the full topic](https://forum.ionicframework.com/t/plenty-of-ionic-server-angular-universal-issuers-ssr-capacitor-preferences-getitem-error-window-is-not-defined-self-is-not-defined-cannot-redefine-property-constructor/231316)._
