I was about to set up SSR for my Angular 7 app using Angular Universal. I followed the official documentation (https://angular.io/guide/universal). I reach the point, where I need to run npm run build:ssr && npm run serve:ssr
. After that I see in terminal: Node Express server listening on http://localhost:4000
. No errors both in terminal and browser. The page just keeps on loading.
Any ideas?
It has something to do with unsupported properties like window, document, setTimeout. It is VERY frustrating that the debug gives you no help at all.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With