App doesnt work when I remove asp-prerender-module #1078

Closed
opened 2025-08-09 17:18:47 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @RonCass on 1/28/2017

Hi Guys,

I upgraded to the latest Angular 2.4.5 and get the error: "Prerendering failed because of error: undefined". And from what I read I should be able to just disable pre-rendering to get around this for now. The problem is that if I change my app tag from:
<app asp-prerender-module="ClientApp/dist/main-server">Loading...</app>
to:
<app>Loading...</app> all I see is the Loading... and the application never starts.

I've googled the heck out of this and tested numerous things to an avail. Also, I'm using a solution created using the ASP.Net Core Angular 2 Starter templates. I created the project months ago.

So please let me know what little stupid thing I must be over looking. :)

Thanks,

Ron C.

*Originally created by @RonCass on 1/28/2017* Hi Guys, I upgraded to the latest Angular 2.4.5 and get the error: "Prerendering failed because of error: undefined". And from what I read I should be able to just disable pre-rendering to get around this for now. The problem is that if I change my app tag from: &lt;app asp-prerender-module="ClientApp/dist/main-server"&gt;Loading...&lt;/app&gt; to: &lt;app&gt;Loading...&lt;/app&gt; all I see is the Loading... and the application never starts. I've googled the heck out of this and tested numerous things to an avail. Also, I'm using a solution created using the ASP.Net Core Angular 2 Starter templates. I created the project months ago. So please let me know what little stupid thing I must be over looking. :) Thanks, Ron C.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1078
No description provided.