Skip to content
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 Universal / Server-Side Rendering (SSR) breaks ngx-spinner #157

Closed
danieldanielecki opened this issue Oct 20, 2020 · 2 comments
Closed
Assignees

Comments

@danieldanielecki
Copy link

danieldanielecki commented Oct 20, 2020

I'm running an Angular app on the latest version of ngx-spinner (10.0.1) & Angular (10.0.14), the ngx-spinner works great when running from ng serve.

However, once performing Server-Side Rendering (SSR) the app breaks without any details (such as window undefined etc.) in the logs. I've tried to run this locally using NestJS and Cloud Functions for Firebase locally/deployed to Firebase, in all cases ngx-spinner breaks (=loads forever more precisely, until timeout) the app without any logs.

Edit: I've found one issue related to ngx-spinner and Firebase, but I don't think so it's related.

Edit2: Anyone any help with that can also respond to the Stack Overflow post: https://stackoverflow.com/questions/64458225/angular-universal-external-dependencies-issues-webpack-server-config-js-nodeex

@Napster2210 Napster2210 self-assigned this Feb 9, 2021
@Napster2210
Copy link
Owner

@danieldanielecki I need to check this in detail.

@danieldanielecki
Copy link
Author

@Napster2210 checked once again, and even with #830 (comment) it still doesn't work on Angular Universal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants