nestjs / ng-universal

Angular Universal module for Nest framework (node.js) 🌷
https://nestjs.com
MIT License
442 stars 68 forks source link

Support in Angular 17 #1125

Open epitzalis opened 10 months ago

epitzalis commented 10 months ago

Current behavior

"ng add @nestjs/ng-universal" currently does not work in Angular 17. Will it be supported? Thank you

epitzalis commented 8 months ago

Hi @michaeljota, the tests failed. I think that's why they don't close this issue image

michaeljota commented 8 months ago

Hi @epitzalis, this has been harder than it looked at first. I'll update the PR that I have, but the app produced by that won't be able to run. Angular 17 is using newer features to bundle the code and expects all code to be produced with those features, and it seems like Nest is not being bundled with those features.

jonesprabu commented 7 months ago

Any update on this? We are desperately looking for an upgrade to Angular 17 from 16 for better hydration.

Markus-Ende commented 7 months ago

You can try the update provided by @michaeljota (although the ng add feature is not working, yet, I guess), I deployed it to npm, see my comment here https://github.com/nestjs/ng-universal/pull/1127#issuecomment-1921302941

michaeljota commented 7 months ago

Hi! The update doesn't quite work. It fails when you try to build the Angular app. The ng add has been updated, and it should work (don't take my word for it). Thank you so much! I wanted to update this, but I feel like the new Angular builders created too much friction. Any feedback will be appreciated.

GeekDenCode commented 7 months ago

Amazing library! I'm really looking forward to support for version 17. I'm starting a new project, and I don't want to start with version 16, because the new version is globally better.

abelfubu commented 3 months ago

GG. This looks like is not going to happen

natejgardner commented 2 months ago

Just seconding this, my team would really like Angular 17 and 18 support and Nest-integrated @angular/ssr out of the box.