angular with universal getting error
See original GitHub issueHi, I am trying to angular with universal.
I refer this https://github.com/angular/angular-cli/wiki/stories-universal-rendering.
I build my app
using this command
npm run build:ssr
I trying to serve using this command
npm run serve:ssr
I am getting this error.
> Unhandled Promise rejection: renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure
> the server-rendered app can be properly bootstrapped into a client app.
How can i fix this issue.
Kindly pls advice me,
Thanks.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Getting error while executing angular universal app
After integrating all when I hit the "ng run Frontend:serve-ssr" command in a terminal, then I get the following error.
Read more >How to handle Server and Client errors in Angular Universal ...
The problem One of the main issues that arose when trying Angular Universal for one of my personal projects, was the inability to...
Read more >Angular Universal: real app problems - InDepth.Dev
SSR issues in Angular · 1. Infinite page loading · 2. Lack of cache out of the box · 3. Server errors of...
Read more >Angular Universal Plugin Error - Netlify Support Forums
Netlify site name: angular-universal.netlify.app When building using the netlify-plugin-angular-universal ... (in beta)) i'm getting the following error:
Read more >Server-side rendering (SSR) with Angular Universal
Angular Universal executes on the server, generating static application pages that later get bootstrapped on the client. This means that the application ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Resolved it by adding:
However the problem we are facing here is f**ing uploading an express-universal app to IIS, which proves to be non-trivial at all.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.