An unhandled exception has occurred: Call to Node module failed with error: Error: No provider for CompilerFactory! #771

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

Originally created by @JohnGalt1717 on 5/10/2017

Hi there.

I'm attempting to do an inplace upgrade to Angular 4 and everything works fine except for server side pre-rendering. (I.e. if I disable Loading... and just use Loading... it's fine.

I've removed angular-universal and switched to the core functions for this.

I've looked at https://github.com/MarkPieszak/aspnetcore-angular2-universal trying to figure out what it's doing in specific (i.e. getting AOT working and this) but I can see anything substantively different. (Although there are alarming changes in it)

Given that I'm not seeing any development in this repo for Angular 4, what are our options going forward? Starting to feel like this is abandonware and it would just be better to start using Node and skip .net core entirely.

*Originally created by @JohnGalt1717 on 5/10/2017* Hi there. I'm attempting to do an inplace upgrade to Angular 4 and everything works fine except for server side pre-rendering. (I.e. if I disable <app asp-prerender-module="ClientApp/dist/main-server" asp-prerender-data="serviceData">Loading...</app> and just use <app>Loading...</app> it's fine. I've removed angular-universal and switched to the core functions for this. I've looked at https://github.com/MarkPieszak/aspnetcore-angular2-universal trying to figure out what it's doing in specific (i.e. getting AOT working and this) but I can see anything substantively different. (Although there are alarming changes in it) Given that I'm not seeing any development in this repo for Angular 4, what are our options going forward? Starting to feel like this is abandonware and it would just be better to start using Node and skip .net core entirely.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#771
No description provided.