ng-universal icon indicating copy to clipboard operation
ng-universal copied to clipboard

Support in Angular 17

Open epitzalis opened this issue 1 year ago • 8 comments

Current behavior

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

epitzalis avatar Nov 15 '23 09:11 epitzalis

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

epitzalis avatar Jan 05 '24 08:01 epitzalis

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.

michaeljota avatar Jan 15 '24 11:01 michaeljota

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

jonesprabu avatar Jan 30 '24 10:01 jonesprabu

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

Markus-Ende avatar Feb 01 '24 13:02 Markus-Ende

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.

michaeljota avatar Feb 04 '24 14:02 michaeljota

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.

GeekDenCode avatar Feb 17 '24 13:02 GeekDenCode

GG. This looks like is not going to happen

abelfubu avatar Jun 07 '24 20:06 abelfubu

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

natejgardner avatar Jun 28 '24 22:06 natejgardner