-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
angular 4 server side prerending in CustomErrorHandler #85
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I got an error during server side prerending
Exception: Call to Node module failed with error: ReferenceError: window is not defined at ToastyComponent._setTimeout
`import {ErrorHandler, Inject, NgZone} from "@angular/core";
import {ToastyService} from "ng2-toasty";
export class AppErrorHandler implements ErrorHandler {
}`
if i use direcly toasty inside a compononent without the error handler class.... the prereding works well i can refresh the page without any problem.... only during the prerending using the error handler class
Any idea how to fix that
Thanks in advance
The text was updated successfully, but these errors were encountered: