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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Toast + server side rendering

Thread ID:





143986 Apr 12,2019 02:26 PM UTC Apr 15,2019 07:15 AM UTC Angular - EJ 2 1
Tags: Toast
Ali Kholmatov
Asked On April 12, 2019 02:26 PM UTC

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\ClientApp\node_modules\@syncfusion\ej2-notifications\dist\ej2-notifications.umd.min.js:353:874

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

Prince Oliver [Syncfusion]
Replied On April 15, 2019 07:15 AM UTC

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. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon