We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Toast + server side rendering

Hi! Please check  angular universal with this package. I got 'document is not defined'  in prererendering  

NodeInvocationException: Prerendering failed because of error: ReferenceError: document is not defined
at D:\Projects\sharp-dev\origin_dev\barnasnorge.no\barnasnorge\ClientAppode_modules\@syncfusion\ej2-notifications\dist\ej2-notifications.umd.min.js:353:874

"@syncfusion/ej2-angular-notifications": "16.3.34"

1 Reply

PO Prince Oliver Syncfusion Team April 15, 2019 02:15 AM

Hello Ali, 

Thank you for contacting us. 

We have fixed the reported “document is not defined” issue in the release version 16.4.52. We suggest you upgrade the latest version(v17.1.40) or a version greater than v16.4.52 to get this resolved. We have attached an example for your reference, please find it in the following location 

Let us know if you need any further assistance on this. 


Live Chat Icon For mobile
Up arrow icon